Skip to content

Commit 60544e6

Browse files
committed
update README
1 parent f29d22f commit 60544e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ Starknet contracts of [Opus](https://opus.money).
66

77
### Prerequisites
88

9-
To run Opus locally, you'll need to install [Katana (part of Dojo)](https://www.dojoengine.org/en/) and [starkli](https://github.com/xJonathanLEI/starkli). If you already have the tools installed, please ensure you are running the most up-to-date versions. You also need to have `zsh` available on your system (not necessarily as your primary shell). Finally, you need to install [Scarb](https://docs.swmansion.com/scarb/docs.html) to compile the Cairo smart contracts. We recommend [installing via `asdf`](https://docs.swmansion.com/scarb/download.html#install-via-asdf).
9+
To run Opus locally, you'll need to install [starknet-devnet-rs](https://github.com/0xSpaceShard/starknet-devnet-rs). If you already have the tools installed, please ensure you are running the most up-to-date versions. Next, you need to install [Scarb](https://docs.swmansion.com/scarb/docs.html) to compile the Cairo smart contracts. We recommend [installing via `asdf`](https://docs.swmansion.com/scarb/download.html#install-via-asdf). Finally, you need to install [Starknet Foundry](https://github.com/foundry-rs/starknet-foundry).
1010

1111
### Setup
1212

13-
In one shell, run `scarb run ktn` to boot up a Katana instance. You can use the `http://localhost:5050` as the RPC address.
13+
In one shell, run `scarb run devnet` to boot up a Devnet instance. You can use the `http://localhost:5050` as the RPC address.
1414

15-
In another shell, execute `./deployment/deploy_all.sh` script. That will compile and deploy the contracts on the local Katana devnet and do the initial required setup.
15+
In another shell, from the `scripts` directory, run `scarb run deploy`. That will compile and deploy the contracts on the local Devnet and do the initial required setup.
1616

17-
Note that Katana deploymnets are ephemeral. Once you kill your Katana instance, the state is lost. After restarting, you will have to deploy the contracts again, using the script mentioned above.
17+
Note that Devnet deploymnets are ephemeral. Once you kill your Devnet instance, the state is lost. After restarting, you will have to deploy the contracts again, using the script mentioned above.

0 commit comments

Comments
 (0)