|
|
há 3 anos atrás | |
|---|---|---|
| .. | ||
| react | 05425a96df examples: native swap | há 4 anos atrás |
| swapPool | 5fad3baa9f examples: update WORMHOLE_RPC_HOSTS | há 3 anos atrás |
| README.md | 05425a96df examples: native swap | há 4 anos atrás |
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