updated instructions

This commit is contained in:
Tim Olson
2023-10-20 13:05:43 -04:00
parent a57f936b88
commit 11f9ed1f40
3 changed files with 7 additions and 6 deletions

View File

@@ -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