Official PIXEL implementation based on OpenZepplin StandardToken ERC-20 contract.
Please visit Piction Network to get more PIXEL information.
- truffle (global dependency)
- zeppelin-solidity
- truffle-hdwallet-provider-privkey
- dotenv-flow
truffle-hdwallet-provider-privkey
uses wallet's private key to authenticate accounts in ethereum network.
Register developer's wallet address and private key in .env.<network>
like this.
$ cp .env .env.<network>
--- .env.<network> ---
PRIVATE_KEY=<PRIVATE_KEY>
DEVELOPERS_ADDRESS=<DEVELOPERS_ADDRESS>
$ npm install -g truffle
$ npm install // install node_modules in package.json
$ truffle compile
- Deploy on local envirnoment
$ truffle migrate --network development --reset
- Deploy on ropsten testnet
$ truffle migrate --network ropsten --reset
- Deploy on mainnet
$ truffle migrate --network mainnet
PIXEL is available under the MIT license. See the LICENSE file for more info.