|
|
před 3 roky | |
|---|---|---|
| .. | ||
| react | 05425a96df examples: native swap | před 4 roky |
| swapPool | 5fad3baa9f examples: update WORMHOLE_RPC_HOSTS | před 3 roky |
| README.md | 05425a96df examples: native swap | před 4 roky |
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.
/examples/core
/examples/rest-relayer
/examples/EthSwapNGo/swapPool
/examples/EthSwapNGo/react
cd /examples/EthSwapNGo/swapPool
npm run deployAndSeed
cd /examples/rest-relayer
npm run start
cd /examples/EthSwapNGo/react
npm run start