Giter VIP home page Giter VIP logo

develop-your-cryptocurrency-erc20's Introduction

Create Your Cryptocurrency Tutorial

image

This repository is related to the How To Develop a Cryptocurrency - The Complete Guide (2022) tutorial. It contains the boilerplates code for a functioning ERC20 Token - Crypto.

Prerequisites

  • VSCode
  • MetaMask

Installation

Install the node packages:

yarn install

Compile the Smart Contracts:

npx hardhat compile

Deploy the Token on Polygon Mumbai

Everything explained above is extensively explained in the How To Develop a Cryptocurrency - The Complete Guide (2022)

  1. Create a new file called ".env" in the root folder of the project.
  2. Create a new variable in the .env file, and name it: PRIVATE_KEY
  3. Retrieve your wallet's private key and assign it to the PRIVATE_KEY variable

image

  1. Grab you Polygon Mumbai Testnet URL on Alchemy
  2. Substitute "YOUR ALCHEMY POLYGON MUMBAI ENDPOINT" with your URL
  3. Get some test MATIC from an online faucet such as this one

Once everything is read, run the following code in your terminal:

npx hardhat run ./scripts/deploy.js --network mumbai

This will log the address of the newly deployed Ttoken.

  1. Go to Metamask and add the newly deployed token

Disclaimer

All the work contained in this repository is provided ​“AS IS”. Developer makes no other warranties, express or implied, and hereby disclaims all implied warranties, including any warranty of merchantability and warranty of fitness for a particular purpose. The code should not be used in a production environment.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

GPL-3.0

develop-your-cryptocurrency-erc20's People

Contributors

eversmile12 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

yashdev9274

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.