Skip to content

Commit 71632fa

Browse files
authored
[docs] improve oracle amm (#791)
* Add address to Polygon clontract and cleanup * Add url * Typo * Typo * Improve writing * Add comma * Fix precommit * Revert package-lock.json
1 parent 61a66ee commit 71632fa

File tree

1 file changed

+7
-5
lines changed
  • target_chains/ethereum/examples/oracle_swap

1 file changed

+7
-5
lines changed

target_chains/ethereum/examples/oracle_swap/README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,21 +65,23 @@ forge inspect OracleSwap abi > ../app/src/abi/OracleSwapAbi.json
6565

6666
## Frontend Application
6767

68-
All of the commands in this section assume you are in the `app` directory
68+
All of the commands in this section assume you are in the `app` directory.
69+
70+
By default, the frontend is configured to use the already deployed version of the oracle AMM
71+
at address [`0x15F9ccA28688F5E6Cbc8B00A8f33e8cE73eD7B02`](https://mumbai.polygonscan.com/address/0x15F9ccA28688F5E6Cbc8B00A8f33e8cE73eD7B02) on Polygon Mumbai.
72+
This means you can start playing with the application without going through the steps above (Remember to switch your wallet to Mumbai and to claim funds from a faucet to pay for the gas).
6973

7074
### Build
7175

7276
`npm ci`
7377

7478
### Run
7579

76-
TODO: describe configuration in this section once the configuration is less janky.
80+
`npm run start`
7781

78-
Default configuration:
82+
### Other configurations:
7983

8084
optimism goerli addresses
8185
brl 0x8e2a09b54fF35Cc4fe3e7dba68bF4173cC559C69
8286
usd 0x98cDc14fe999435F3d4C2E65eC8863e0d70493Df
8387
swap contract 0xf3161b2B32761B46C084a7e1d8993C19703C09e7
84-
85-
Once you've configured everything, simply run `npm run start`.

0 commit comments

Comments
 (0)