wormhole/examples/EthSwapNGo
Chase Moran 05425a96df examples: native swap
Change-Id: Ia7bf98bac2b4a0daa5541f09a9c9e4b1e2d56bba

examples: rest_relayer, add support for all chains

Change-Id: Idbcf48f4c891383e16a9f1f460d6e02aa3149a48
2021-12-08 14:51:19 +00:00
..
react examples: native swap 2021-12-08 14:51:19 +00:00
swapPool examples: native swap 2021-12-08 14:51:19 +00: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