Git Product home page Git Product logo

metacrafter-eth-avax-module-3's Introduction

Project Title

Metacrafters assessment of ETH-AVAX module 3

Description

This is the assessment of a course called Eth-Proof provided to us by Metacrafters which is a multichain learn and earn platform. In this course, we learned about different blockchain concepts and started our journey in field of blockchain by laying the foundation in solidity.

Getting Started

Installing and Execution of Program:

  * Run the hardhat node locally using npx hardhat node command
  * Open remix.ethereum.org (a online code editor for solidity by ethereum)
  * Open Mytoken.sol given in this repository.
  * Copy the code
  * compile the code.
  * Select Dev Hardhat provider from environment in the deploy tab of the sidebar. It will automatically detect your local hardhat node running in your pc.
  * Now deploy the contract by passing required arguments
  * Your token contract is ready

Features:

  • Transfer token from one address to another address
  • Minting token
  • Burning token to reduce it's supply
  • Burning and transfer can be done by any user.
  • Minting can be done by the owner only.

Errors:

* InsuficientBalance: this takes two values YourBalance and YourAmount. Whenever sender wants to send or burn some amount which is larger than it's account balance. The process is reverted with this error.
* You are not the owner: If someone uses mint function except owner then this will pops up. This is implemented by using a modifier.

Help

  * You can use CTRL + S to compile
  * npx hardhat node : to run a local blockchain.

Authors

Alok raturi

Chances of Errors:

  * Create a project and install hardhat and initialize your local blockchain there.
  * Deploy on Dev- hardhat provider in remix.

License

This project is licensed under the Alok Raturi License.

metacrafter-eth-avax-module-3's People

Contributors

alok-raturi avatar

Watchers

 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.