Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

piction-protocol/ico

Repository files navigation

PIXEL Token Contract

Official PIXEL implementation based on OpenZepplin StandardToken ERC-20 contract.

Please visit Piction Network to get more PIXEL information.

Requirement

Setting

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>

Install

$ npm install -g truffle
$ npm install // install node_modules in package.json

Compile

$ truffle compile

Deploy

  • 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

Test

License

PIXEL is available under the MIT license. See the LICENSE file for more info.

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /