Skip to content

Crowdsale solidity contract of KaseiCoin - fungible token that is ERC-20 compliant.

License

Notifications You must be signed in to change notification settings

nataliaburrey/ERC-20_fungible_token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KaseiCoin ERC-20 fungible token .

📌 Challenge 21

" Crowdsale of KaseiCoin created with solidity. A fungible token that is ERC-20 compliant. Deployed with Remix IDE and tested with Ganache and MetaMask". "

Screen Shot 2021-08-17 at 4 55 58 PM

Table of content

Overview of the project

Creating 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 is managing the entire crowdsale process, allowing users to send ether to the contract and in return receive KAI, or KaseiCoin tokens. Your contract will mint the tokens automatically and distribute them to buyers in one transaction.

Project steps

The steps for this Challenge are divided into the following sections:

1. Create the KaseiCoin Token Contract

Screen Shot 2021-08-15 at 9 24 15 PM

2. Create the KaseiCoin Crowdsale Contract

Screen Shot 2021-08-15 at 9 24 36 PM

3. Create the KaseiCoin Deployer Contract

Screen Shot 2021-08-15 at 9 25 39 PM

4. Deploy the Crowdsale to a Local Blockchain
Deploy the crowdsale to a local blockchain with Remix, MetaMask, and Ganache.

Screen Shot 2021-08-17 at 5 13 33 PM

Screen Shot 2021-08-17 at 3 20 13 PM

Screen.Recording.2021-08-17.at.3.20.52.PM.mov

Screen Shot 2021-08-17 at 3 16 40 PM

Test the functionality of the crowdsale by using test accounts to buy new tokens and then checking the balances associated with those accounts.

Screen Shot 2021-08-17 at 3 28 15 PM

Screen Shot 2021-08-17 at 3 26 28 PM

After purchasing tokens with one or more test accounts, view the total supply of minted tokens and the amount of wei that has been raised in the crowdsale contract.

Screen Shot 2021-08-17 at 3 27 53 PM

5. Record a short video or take several screenshots that show the deployed contract in action.
Screen.Recording.2021-08-17.at.3.44.02.PM.mov

Screen Shot 2021-08-17 at 3 21 26 PM

6. Optional: Use OpenZeppelin to extend the functionality of your crowdsale contract 
by adding time restrictions, refund capabilities, and a cap for the number of tokens that may be created.

Screen Shot 2021-08-17 at 5 16 08 PM

Software version control

Remix IDE used to interact with Etherium blockchain.

Remix - Ethereum IDE is an open source web and desktop application. It fosters a fast development cycle and has a rich set of plugins with intuitive GUIs. Remix is used for the entire journey of contract development as well as being a playground for learning and teaching Ethereum.

MetaMask allows users to store and manage account keys, broadcast transactions, send and receive Ethereum-based cryptocurrencies and tokens, and securely connect to decentralized applications through a compatible web browser or the mobile app's built-in browser. For the purpose of challange we will create an enviroment and use paper trade Etherium to showcase crowdsale of our Token

Ganache allows us to quickly fire up a personal Ethereum blockchain which you can use to run tests, execute commands, and inspect state while controlling how the chain operates. we will use it in this challenge to create a personal blockchain for rapid Ethereum distributed application development and test our crowdsale contract in a safe and deterministic environment.

Work with GitHub

  • Repository created on GitHub
  • Files were committed using command line
  • Our repository is organized, and includes Resources folder with CSV project files,
  • Jupyter Notebook with code runs without errors.
  • Answers on nesassary questions are included

How to install

  • Save remote repo from GitHub to your computer (Desktop): in Terninal type:
cd desktop

git clone https://github.com/nataliaburrey/ERC-20_fungible_token.git

now you can find the folder ERC-20 fungible token on your desktop

Helps recruiters

The project was created in collaboration with Berkeley Fintech Bootcamp team

📔 Contact me: 📩 nataliaburrey@gmail.com

About

Crowdsale solidity contract of KaseiCoin - fungible token that is ERC-20 compliant.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published