Skip to content
smart contract for the PCL Token
Branch: master
Clone or download
Latest commit 1034fb1 Mar 3, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
contracts
coverage
migrations
test
.gitattributes
.gitignore
README.md
coverage.json
package-lock.json
package.json
truffle-config.js

README.md

Peculium Token Smart-Contract

Peculium Contract

The Peculium contract is a standard ERC-20 token:

  • name: Peculium
  • symbol: PCL
  • decimals: 8
  • total supply : 2,207,856,526.29857398

Additional features :

  • user can burn tokens.

Playing with the contract

You will need NodeJS, npm , truffle and open-zepplin contracts

You will need a local blockchain (like ganache) for local deployment and test

You will also need truffle-hdwallet-provider with a metamask mnemonic and an infura api key to deploy contract on Ropsten

You will need solidity-coverage for code coverage

Install

git clone https://github.com/Peculium-Dev/PCLToken
cd PCLToken
npm install -g truffle
npm install -g coveralls
npm install truffle-assertions
npm install --save-dev solidity-coverage
npm install -E openzeppelin-solidity

Compile

truffle compile

Deploy on local network

(start local blockchain on port 8545)

truffle deploy

Run tests

(start local blockchain on port 8545)

truffle test

Run code coverage

npm run coverage

Ropsten

Mainnet

You can’t perform that action at this time.