GithubHelp home page GithubHelp logo

sulimanmukhtar / code-for-the-6-steps-to-erc20-tokens-and-ico-smart-contracts-tutorial Goto Github PK

View Code? Open in Web Editor NEW

This project forked from halls7588/code-for-the-6-steps-to-erc20-tokens-and-ico-smart-contracts-tutorial

0.0 0.0 0.0 27 KB

License: MIT License

Solidity 100.00%

code-for-the-6-steps-to-erc20-tokens-and-ico-smart-contracts-tutorial's Introduction

6 Steps to ERC20 Tokens and ICO Smart Contracts Tutorial Code

The following Code if for the tutorial:

6 Steps to ERC20 Tokens and ICO Smart Contracts: In depth step by step

The is a simple ERC20 token with ICO functionality built into the contract. Once deployed, to begin the ICO the owner of the contract has to call the startICO() function. The contract will not automatically end the ICO, This must also be done by the owner of the contract by calling the finalizeIco() function. If all the Tokens that are part of the sale have been sold or if someone sends more Ether then remaining tokens, the contract will send any remaining tokens to the sender, calculate the difference in Ether and return the remaining balance. The rest will be sent to the contract owners address just like a regular token purchase.

This code does not allow for discounts or bonuses, but any half competent developer should be able to quickly and easily add them in or any other functionality if desired. The contract will continue to function as a Simple ERC20 Token even during the ICO.

NOTE: There is nothing built into this contract to prevent someone from buying tokens and listing them directly onto an exchange. If you would like to prevent this feel free to combine the token with the pauseable token code which can be found here:

Pauseable Modifier

Pauseable Token code

Prerequisites

Understanding of Solidity or proficient with a language like JavaScript, Swift, Java etc. Or just follow along with my tutoral at:

6 Steps to ERC20 Tokens and ICO Smart Contracts Tutorial Code

Deployment

  • Make sure that you have an ERC20 compatible Ethereum wallet.

  • To execute the token code:

    • For MyEtherWallet;
      1. Copy the token code and its dependencies.
      2. Paste the token code into the remix online compiler.
      3. Copy the EVM code and past into the MyEtherWallet execute smart contract.
      4. Pay the gas price, enjoy your tokens.

Contributing

Nothing in place. Feel free to message me if you want to contribute. email

Issues

If you find a bug or issue in the code, Please feel free to raise an Issue and i will get to it in a timely manner. No spacific template is required, please be as detailed as possible as it will make tracking the issue down that much easier. Raise an Issue

Additional Help or General Quiestions

Feel free to message me for questions or help with the token or develoment of a new one. Thouhgh I prefer you message me on Linkedin

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Donations Excepted

Send to:

Bitcoin: 3FjpxkdTSrPz6KYk1oWf3yTFiZgei8eQ3X

Ethereum: 0xa961d6886359df290B49d752405CbB7ac0adB123

Monero: 43gnpSr6mruj2yxQuQaM4J8xWqcy3ogGN2YPzSZQry8EcZEjpkCE1ioTePGmaJRXBaVZetTegMNL22riuHFmcTcNJCZ3v88

code-for-the-6-steps-to-erc20-tokens-and-ico-smart-contracts-tutorial's People

Contributors

halls7588 avatar sulimanmukhtar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.