add dev setup guide to README.md
This commit is contained in:
parent
d5098e0dee
commit
40279d883b
28
README.md
28
README.md
|
@ -1,3 +1,31 @@
|
|||
# Serum DevTools 🛠️
|
||||
|
||||
A developer tooling suite for building on Serum.
|
||||
|
||||
## Dev Setup
|
||||
|
||||
1. Get a local validator running
|
||||
```
|
||||
solana-test-validator -r
|
||||
```
|
||||
|
||||
2. Init `serum-dev-tools` CLI in the `/cli` directory
|
||||
```
|
||||
cd cli && cargo run -- init
|
||||
```
|
||||
|
||||
3. Deploy `serum-dex` on localnet using the CLI
|
||||
```
|
||||
cd cli && cargo run -- deploy l
|
||||
```
|
||||
|
||||
4. Install node packages and update `dexAddress` in `/ts/tests/dev.spec.ts` to the deployed program ID.
|
||||
```
|
||||
cd ts && yarn install
|
||||
```
|
||||
|
||||
5. Run tests
|
||||
```
|
||||
cd ts && yarn test
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue