Atomic swap cryptocurrency protocol. Live version here: https://Atomicswapwallet.io. Atomic swap library at https://github.com/hype-ecosystem/atomicswapwallet.io/.
- Clone repository with submodules (swap.core)
git clone --recurse-submodules https://github.com/hype-ecosystem/atomicswapwallet.io.git
- Do
npm i
cd swap.react
npm i
-
Do
git submodule update
in swap.react directory -
For dev mode
npm run start
, for prodnpm run build:mainnet
npm run start
- npm run build:mainnet-widget {erc20contract} {name} {decimals} {tiker}
example:
npm run build:mainnet-widget 0x9E4AD79049282F942c1b4c9b418F0357A0637017 noxon 0 noxon
tar czf my-widget.tar.gz build-mainnet-widget
- upoad to your domain (https://domain.com/build-mainnet-widget)
- embed via iframe like
<iframe src="build-mainnet-widget/index.html" border=0 style="botder:0;width:800px;height:700px"></iframe>