You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: target_chains/ethereum/examples/oracle_swap/README.md
+13-3Lines changed: 13 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,20 +65,30 @@ forge inspect OracleSwap abi > ../app/src/abi/OracleSwapAbi.json
65
65
66
66
## Frontend Application
67
67
68
-
All of the commands in this section assume you are in the `app` directory.
69
-
70
68
By default, the frontend is configured to use the already deployed version of the oracle AMM
71
69
at address [`0x15F9ccA28688F5E6Cbc8B00A8f33e8cE73eD7B02`](https://mumbai.polygonscan.com/address/0x15F9ccA28688F5E6Cbc8B00A8f33e8cE73eD7B02) on Polygon Mumbai.
72
70
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).
73
71
74
72
### Build
75
73
76
-
`npm ci`
74
+
From the root of the pyth-crosschain repository, run:
75
+
76
+
```
77
+
npm ci
78
+
npx lerna run build
79
+
```
80
+
81
+
This command will install dependencies for all packages within the typescript monorepo, and also build some
82
+
typescript SDKs that this example depends on.
77
83
78
84
### Run
79
85
86
+
After building, you can start the frontend by navigating to the `app/` directory and running:
0 commit comments