-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,30 @@ | ||
# Examples | ||
|
||
## Usage | ||
|
||
To run the example, please consider the following: | ||
|
||
1. Spin up a katana instance ([install here](curl -L https://install.dojoengine.org | bash)): | ||
|
||
``` | ||
dojoup -v | ||
katana | ||
``` | ||
|
||
2. Generates the artifacts to have the abi being extracted: | ||
|
||
``` | ||
make generate_artifacts | ||
``` | ||
|
||
3. Setup (declare and deploy) the contract of your choice: | ||
|
||
``` | ||
make setup_simple_get_set | ||
``` | ||
|
||
4. Run the example | ||
|
||
``` | ||
cargo run --example simple_get_set --features="abigen-rs" | ||
``` |