Coder Social home page Coder Social logo

degentoken's Introduction

Project Title

License Contract

Description

This is an ERC20 token contract, It allows creation of tokens, where the contract owner only has the ability to mint, any user can transfer and burn the token

- State: Owner state, storing the contract owner address
- Modifier: Utilizes 2 modifiers, onlyOwner and hasTokens modifiers, onlyOwner modifier checks the msg.sender is the owner of the contract and hasToken Modifier checks whether the address has enough token
- Functions: the contract include function for mininting, transfering and burning of the token

Getting Started

Executing program

- clone the project from github
- cd "project director"
- To deploy, run: npx hardhat run --network fuji .\scripts\deploy.js
- To verify contract, run: npx hardhat verify --network fuji "contract address"


For ease in executing the smart contract, the address can be copied and use in remix environment to interact with different functions in the contract

Authors

Contributors names and contact info

ex. Okeola Mubarak
ex. @Mubie_X

License

This project is licensed under the MIT License

Address

0xd1DF10a1fc494E215A24268F74e8d9903602C104

degentoken's People

Contributors

crgold avatar mubarakoke 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.