updated instructions
This commit is contained in:
2
backend
2
backend
Submodule backend updated: 2fd378a936...fdf0398ae0
@@ -19,7 +19,7 @@
|
||||
1. suggested to create a virtualenv under `backend/venv`
|
||||
2. `cd backend && pip install -r requirements.txt; cd ..`
|
||||
6. Get an ethereum RPC account; both a websocket and http polling url are necessary. alchemy.com has these at the free tier.
|
||||
1. `cp backend/foundry-default.toml backend/foundry.toml`
|
||||
1. `cp contract/foundry-default.toml contract/foundry.toml`
|
||||
2. set the `arbitrum_mock` and `arbitrum_test` aliases at the bottom of that `foundry.toml` file:
|
||||
```toml
|
||||
[profile.default.rpc_endpoints]
|
||||
@@ -27,9 +27,10 @@
|
||||
arbitrum_test='https://rpc.ankr.com/arbitrum/056ed4...'
|
||||
```
|
||||
7. `cp backend/dexorder-mock.toml backend/dexorder.toml`
|
||||
8. `cp server/.env-mock server/.env`
|
||||
9. `cp web/.env-mock web/.env`
|
||||
10. Install a web wallet like MetaMask. Configure the wallet for a new chain named "Mock" running on http://localhost:8545 with chain ID 1338 and token name ETH. Metamask complains about the token name but ignore the warning.
|
||||
8. `cp backend/.secret-mock.toml backend/.secret.toml`
|
||||
9. `cp server/.env-mock server/.env`
|
||||
10. `cp web/.env-mock web/.env`
|
||||
11. Install a web wallet like MetaMask. Configure the wallet for a new chain named "Mock" running on http://localhost:8545 with chain ID 1338 and token name ETH. Metamask complains about the token name but ignore the warning.
|
||||
|
||||
|
||||
# Mock Environment Execution
|
||||
|
||||
2
server
2
server
Submodule server updated: 689aa310af...05a0aa6a1d
Reference in New Issue
Block a user