We will create a fungible token that is ERC-20 compliant and that will be minted by using a Crowdsale contract from the OpenZeppelin Solidity library.
The crowdsale contract will manage the entire crowdsale process, allowing users to send ether to the contract and in return receive KASEI , or KaseiCoin tokens.
- Symbol: KASEI
- Token Name: KaseCoin
USE STAGES 1-4:
-
Create the KaseiCoin Token Contract
-
Create the KaseiCoin Crowdsale Contract
-
Create the KaseiCoin Deployer Contract
-
Deploy the Crowdsale to a Local Blockchain
Now to show the steps listed above:
KaseiCoin Contract
KaseiCoin Crowdsale Contract
KaseiCoin Deployer Contract
Deploy the Crowdsale to a Local Blockchain
Use test accounts to buy new tokens.
After purchasing tokens with test accounts, view the total supply of minted tokens and the amount of wei that has been raised by the crowdsale. See the video below:
buyKasei.mov
Kendren Cornish
MetaMask - MetaMask is a digital wallet for the Ethereum blockchain
Solidity - This is a programming language we use to create smart contracts.
Remix IDE website - This is where we build and test smart contracts that we create with Solidity.
Ganache This program allows you to quickly and easily set up/test a local blockchain.