[MINOR] Updated README. (#35)

Updated README to include the instruction to start Serum DEX in docker and also mention the source of truth for the market addresses.
This commit is contained in:
Leonard G 2020-09-17 15:30:14 +08:00 committed by GitHub
parent 9abb0ca3a1
commit e7406f8c7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# PySerum # PySerum
Python client library for interacting with the Project Serum DEX. Python client library for interacting with the [Project Serum](https://projectserum.com/) DEX.
## Get Started ## Get Started
@ -30,6 +30,8 @@ for bid in bids:
### Market Addresses in Main Net ### Market Addresses in Main Net
The source of truth of the market address can be found [here](https://github.com/project-serum/serum-js/blob/master/src/tokens_and_markets.ts). Feel free to open a PR if the following addresses needs modification or addition.
| Currency Pair | Address | | Currency Pair | Address |
| :-----------: | :------------------------------------------: | | :-----------: | :------------------------------------------: |
| MSRM/USDT | H4snTKK9adiU15gP22ErfZYtro3aqR9BTMXiH3AwiUTQ | | MSRM/USDT | H4snTKK9adiU15gP22ErfZYtro3aqR9BTMXiH3AwiUTQ |
@ -89,3 +91,13 @@ make int-tests
```sh ```sh
make notebook make notebook
``` ```
### Start Serum in Docker image
```bash
./scripts/bootstrap_dex.sh
```
This will start a docker container with `solana` image and deploy a serum DEX which you can use for testing.
The market address, program id, and wallet addresses can be found in the new `crank.log` file after the script runs successfully.

0
scripts/bootstrap_dex.sh Normal file → Executable file
View File