https://swap.rai.finance. Feel free to read the code. More details coming soon.
MIT
- Goto https://polkadot.js.org/apps/#/explorer and switch the endpoint to following ws address.
wss://test-node.rai.finance/ws
- Use following Endpoint to use.
https://test-node.rai.finance/
- Following This Link to setup a moonbeam node in your local machine.
-
Clone this repository.
git clone https://github.com/RaiFinance/RaiSwap.git cd RaiSwap
-
Setup a private key file.
cat 'your_test_private_key1,your_test_private_key2,your_test_private_key3' > test_private_key.txt
-
Install Dependencies.
cd truffle yarn npm i -g truffle mocha
-
Deploy a RaiSwap contract.
truffle migrate --network development
-
Test the contract.
truffle test -network development