Skip to content
Trade BTC, ZEC, BCH ⟷ DAI trustlessly
TypeScript CSS Solidity JavaScript HTML
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Revert "Revert "circleci: don't submit coverage"" Oct 30, 2019
ethereum-contracts Update README.md Feb 10, 2020
react-client Merge branches 'master' and 'master' of github.com:renproject/renvm-demo Jan 10, 2020
.gitignore Merge branch 'feat/multi-user-reserve' into chaosdex Oct 31, 2019
LICENSE Create LICENSE Dec 5, 2019
README.md Update README.md Dec 5, 2019
banner.jpg readme: updated name Nov 13, 2019
preview.png readme: updated name Nov 13, 2019
yarn.lock client: improved error reporting Jan 10, 2020

README.md

💱 ChaosDEX

Trade BTC, ZEC, BCH ⟷ DAI trustlessly.

Powered by RenVM and the RenVM.js SDK. To get started using the SDK, read the Developer Docs or the Getting Started Tutorial.

Preview

Run locally

This will run against testnet.

cd ethereum-contracts
yarn install
yarn run bindings:ts
cd ../
cd react-client
yarn install
NETWORK="testnet" yarn start

If it throws Can't resolve './build/Release/scrypt', run:

rm -r node_modules/scrypt

Deploying

After running the above commands, cd into react-client.

Copy into .env, and fill in the Ethereum Node (first line) and optionally the Sentry DSN:

REACT_APP_ETHEREUM_NODE=""
REACT_APP_ETHERSCAN="https://kovan.etherscan.io"

REACT_APP_NETWORK="testnet"
REACT_APP_SENTRY_DSN=""
REACT_APP_ETHEREUM_NETWORK="Kovan"
REACT_APP_ETHEREUM_NETWORK_ID=42

Deploy to Github Pages:

yarn deploy
You can’t perform that action at this time.