wormhole/examples/EthSwapNGo
Leo 5fad3baa9f examples: update WORMHOLE_RPC_HOSTS
The examples have an earlier version of the list that is missing 01node.

commit-id:ecb2c16f
2021-12-16 21:02:27 +01:00
..
react examples: native swap 2021-12-08 14:51:19 +00:00
swapPool examples: update WORMHOLE_RPC_HOSTS 2021-12-16 21:02:27 +01:00
README.md examples: native swap 2021-12-08 14:51:19 +00:00

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