05425a96df
Change-Id: Ia7bf98bac2b4a0daa5541f09a9c9e4b1e2d56bba examples: rest_relayer, add support for all chains Change-Id: Idbcf48f4c891383e16a9f1f460d6e02aa3149a48 |
||
---|---|---|
.. | ||
react | ||
swapPool | ||
README.md |
README.md
Eth Swap & Go Example Program
This is a non-production example program.
The demonstrates a simple React program which can swap native EVM currencies, using only the wormhole bridge & a relayer.
It assumes that a fresh devnet is running in conjunction with the restRelayer example project.
In order to run this project, you must first run npm ci in the following directories:
/examples/core
/examples/rest-relayer
/examples/EthSwapNGo/swapPool
/examples/EthSwapNGo/react
Once you've installed all the dependencies, you can create the swap pools:
cd /examples/EthSwapNGo/swapPool
npm run deployAndSeed
Then start the rest-relayer service:
cd /examples/rest-relayer
npm run start
And lastly, start the react app:
cd /examples/EthSwapNGo/react
npm run start