Skip to content

CarboneumProject/contracts

Repository files navigation

Carboneum Smart Contracts Build Status

Getting start

$ npm install
$ truffle compile
$ truffle test
$ truffle migrate

Debugging

Due to a bug of truffle we cannot debug smart contract with multi files but we can use truffle-flattener(https://www.npmjs.com/package/truffle-flattener) merge all contracts into a single file and debug it on https://remix.ethereum.org IDE instread.

truffle-flattener contracts/*.sol > ~/carboneum-flattened.sol