https://www.certik.com/projects/ghostmarket
Upgradable ERC20 Contract. Using OpenZeppelin contracts.
truffle compile --all
Using Truffle to deploying Proxy
contracts/Migrations.sol
Contracts can be deployed with
truffle deploy --network <network_name>
For local deployment ganache must be started and private keys saved into
.secrets.json
local deployment:
truffle deploy --network development
testnet deployment:
truffle deploy --network <TESTNET_NAME>
mainnet deployment:
truffle deploy --network <MAINNET_NAME>
tests can be run with:
local deployment:
truffle test --network development
testnet deployment:
truffle test --network <TESTNET_NAME>
truffle run verify PhantasmaToken@<CONTRACT_HASH> --network <NETWORK_NAME>