/gxc-relay-contract

smart contracts of gxc-relay

Primary LanguageC++

GXC-Relay-Contract

This project constructs of 2 parts:

  • A Mintable, Brnable and Pausable ERC20 smart contract implemented for GXC, based on openzeppelin and truffle
  • A Relay Contract writen in C++ which will be deployed on GXChain

Documents

Install dependencies

npm i truffle -g
npm install

Deploy

Note: A file named .secret should be created which contains the brain key of your eth account

npm run ropsten // for ropsten testnet
npm run live // for ethereum mainnet

Test

truffle console --network ropsten

Audit

You can view the audit results of the contract in this directory