GithubHelp home page GithubHelp logo

tokens's Introduction

BokkyPooBah's Token Repository

A collection of token contracts, and how to deploy these contracts using Remix and MyEtherWallet.



Table Of Contents



Mainnet Token Contracts

See Mainnet-token-contracts-20180610 for a list of token contracts, where the addresses are from EtherDelta's token contract list @ June 10 2018, and the associated source code has been scraped from EtherScan's validated source code listing.



BitFwd Token

A token that is mintable by the owner, until the disableMinting() is executed. This token contract requires the SafeMath library to be deployed before deploying the main token contract.

Deployed Nov 22 2017, and transferred ownership to 0x8f629ee1659E89958678F716a4f452B20fCbD8c5 .



LEIA Save Princess Leia Peach Rainbow Vomit Cat ICO Token

A crowdsale/token contract that generates 1,000 tokens per ETH received, but all contributed ETH is returned to the calling account immediately. This crowdsale/token contract requires the SafeMath library to be deployed before deploying the main crowdsale/token contract.



SEANTest Token On Ropsten

A token contract that premines 100,000 tokens and assigns these tokens to a particular account. No library linking is required for this token contract as the library SafeMath has been converted to contract SafeMath.



Fixed Supply Token

A fixed supply token contract that allocates 1,000,000 FIXED tokens to the token contract owner on deployment. No library linking is required.

See the instruction directly below to deploy this contract to the Ropsten Testnet.



My Token

A token contract that accepts ETH and generates 1,000 tokens per ETH with a 20% bonus in the first week. No library linking is required for this token contract as the library SafeMath has been converted to contract SafeMath.

See the instruction directly below to deploy this contract to the Ropsten Testnet.



How To Deploy Using Remix And MyEtherWallet Without Libraries

If deploying on Ropsten, select the Ropsten network in MEW, and use the Ropsten EtherScan

  • Compile code in Remix
  • Deploy using MyEtherWallet
    • Browse https://www.myetherwallet.com/
    • Select the Contracts tab
    • Click on Deploy Contract
    • Paste the Bytecode into the Byte Code field
    • Access your wallet, generate the transaction and send the transaction
  • Verify in EtherScan
    • Browse https://etherscan.io/
    • Search for the latest transaction in your account
    • Click on the address of the newly deployed contract
    • Verify the source
      • Make sure the compiler version matches the Remix compiler version
      • Make sure the optimisation flag matches the Remix optimiser flag setting


How To Deploy Using Remix And MyEtherWallet With A Library

  • Perform the steps above initially for the SafeMath library unit
  • Perform the steps above for the token contract, but
    • Copy the bytecode from Remix, replace all occurrence of __*__ with the deployment address of the SafeMath library, without the 0x prefix
    • Deploy the bytecode
  • When verifying in EtherScan
    • Add the library :SafeMath with the address of the SafeMath library


Airdropping Tokens

A sample script is available in scripts/airdropLEIA.sh



Registering Your Token Contract

The Parity registry is a do-it-yourself token registration. MEW and EtherScan requires someone to process your request, so restrict your request to more important tokens.



References



Enjoy. (c) BokkyPooBah / Bok Consulting Pty Ltd 2017. The MIT Licence.

tokens's People

Contributors

bokkypoobah 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.