-
Before developing and testing the contracts, I have my blockchain network running in Ganache and MetaMask extension connected and pointing to
Localhost:8545
. -
In the
Deploy
tab in Remix IDE, I connected to my local Ganache chain by selectingInjected Web3
in theEnvironment
column. -
For each contract, I filled in the constructor parameters before transacting and deploying.
I used a standard ERC20Mintable
and ERC20Detailed
contract for the PupperCoin.sol.
This contract raises Ethereum by issuing PupperCoin. One token (TKN) equals 1 ETH in order to maintain parity with Ether units and can be divided into TKNbits as Ether can be divided into wei. The goal is to raise 300 ETH with this crowdsale.