Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 771 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 771 Bytes

Token Converter

Base Contract

In order to deploy this contract into RSK testnet network you should have a mnemonic phrase and some rBTC in such address. The mnemonic must be saved in this file token-converter/mnemonic.key (see the generator script)

With this format: cat ring own bus mere surf value blind space asfalt elder fun

Tests:
To execute the tests, ganache-cli must be running. Go to this folder:
token-converter/

Install all the packages with:
npm i

Afterwards execute this script to run ganache-cli:
npm run ganache


Open another terminal and execute this script to run the tests:
npm run test

To show the coverage run this script:
npm run coverage