Skip to content

pogdigital/pog-token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pog Coin

Reference implementation of the Pog Coin

Setup

First install dependencies with the following command:

npm install

Compile the solidity contracts with the following command:

truffle compile

Test

Test against ganache

To test against ganache, first install ganache following the steps here. Then, start ganache-cli in a terminal with the following commond:

ganache-cli --defaultBalanceEther 1000000000 -l 20000000 --networkId 9988 --port 18888

Next, in another terminal, run the tests with

# run all tests
truffle test --network ganache

# run an individual test
truffle test test/01-test-token-basics.js --network=ganache --show-events

Deployment

Ganache Privatenet deployment

# Start ganache in the first terminal
ganache-cli --defaultBalanceEther 1000000000 -l 20000000 --networkId 9988 --port 18888

# Deploy from the second terminal
truffle compile
truffle migrate --network ganache --compile-none --reset

Theta Privatenet deployment:

truffle compile
truffle migrate --network theta_privatenet --compile-none --reset

Theta Testnet deployment:

truffle compile
truffle migrate --network theta_testnet --compile-none --reset

Theta Mainnet deployment:

truffle compile
truffle deploy --network theta_mainnet --compile-none --reset

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published