Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
Add queries to CLI and Account interface (#230)
Browse files Browse the repository at this point in the history
* feat: add queries to CLI

* feat: format and lint

* feat: update README.md

* feat: add test coverage

* Update src/nile/core/call_or_invoke.py

Co-authored-by: Andrew Fleming <[email protected]>

* feat: update Account artifact

* feat: update sign_transaction signature

* feat: update Account artifact

* feat: add execution permission to cli again

* refactor: remove execute_query duplicated code

* fix: update test

* fix: format files

* feat: update artifacts

Co-authored-by: Andrew Fleming <[email protected]>
  • Loading branch information
ericnordelo and andrew-fleming authored Oct 24, 2022
1 parent 90d75e2 commit 8fc0012
Show file tree
Hide file tree
Showing 11 changed files with 3,384 additions and 1,778 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ Transaction hash: 0x1c

Some things to note:

- This sends the transaction to the network by default, but you can use the `--estimate_fee` flag to estimate the fee without sending the transaction, or the `--simulate` flag to get a traceback of the simulated execution.
- `max_fee` defaults to `0`. Add `--max_fee <max_fee>` to set the maximum fee for the transaction
- `network` defaults to the `localhost`. Add `--network <network>` to change the network for the transaction

Expand Down
Loading

0 comments on commit 8fc0012

Please sign in to comment.