c565152c13
fixes https://github.com/certusone/wormhole/issues/484 fixes https://github.com/certusone/wormhole/issues/490 fixes https://github.com/certusone/wormhole/issues/487 Change-Id: I7405e17371dfde2921e63604d8353ebffed975c9 |
||
---|---|---|
.. | ||
public | ||
src | ||
.gitignore | ||
README.md | ||
craco.config.js | ||
package-lock.json | ||
package.json | ||
tsconfig.json |
README.md
Example Token Bridge UI
Prerequisites
- Docker
- NodeJS v14+
- NPM v7.18+
Run the following from the root of this repo
DOCKER_BUILDKIT=1 docker build --target node-export -f Dockerfile.proto -o type=local,dest=. .
DOCKER_BUILDKIT=1 docker build -f solana/Dockerfile.wasm -o type=local,dest=. solana
npm ci --prefix ethereum
npm ci --prefix sdk/js
npm run build --prefix sdk/js
The remaining steps can be run from this folder
Install
npm ci
Develop
npm start
Build for local tilt network
npm run build
Build for testnet
REACT_APP_CLUSTER=testnet npm run build
Build for mainnet
REACT_APP_CLUSTER=mainnet REACT_APP_COVALENT_API_KEY=YOUR_API_KEY npm run build
Test Server
npx serve -s build