Atomic swap cryptocurrency protocol. Live version here: https://Atomicswapwallet.io.
- Clone repository with submodules (swap.core)
git clone --recurse-submodules https://github.com/Cointorox/AtomicSwapWallet.git
- Do
npm i
cd swap.react
npm i
-
Do
git submodule update
in AtomicSwapWallet directory -
For dev mode
npm run start
, for prodnpm run build
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
- Upload 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>