Code Monkey home page Code Monkey logo

metacrafters's Introduction

Metacrafters

This repo contains projects made while pursuing Metacrafters Course

  • JS PROOF/ contains projects made while learning javascript
    • mintingNFTs.js - Creating NFT collection, by utising various concepts in js, such as arrays, objects, loops, functions etc.

      Assessment Requirements:

        - Create a variable that can hold a number of NFTs.
        - Create an object inside your mintNFT function that will hold the metadata for your NFTs. The metadata values will be passed to the function as parameters. When the NFT is ready, you will store it in the variable you created in step 1.
        - ListNFTs() function will print all of your NFTs metadata to the console(i.e. console.log("Name: " + someNFT.name))
        - For good measure, getTotalSupply() should return the number of NFT's you have created
      

      Functionality:

        - Has the ability to "mint" NFTs and store them.
        - You should "mint" at least three NFTs
        - Has the ability to print the details of your NFTs to the console
        - Has the ability to print the total supply of your NFT collection to the console.
      

  • ETH PROOF: Beginner EVM Course/ contains projects made while learning solidity (beginners)
    • litToken.sol - Generating and buringing Tokens, and simultaeously updating TOKEN values in totalSupplyPool and walletAddress, in solidity on ethereum blockchain.

      Assessment Requirements:

        - Your contract will have public variables that store the details about your coin (Token Name, Token Abbrv., Total Supply)
      
        - Your contract will have a mapping of addresses to balances (address => uint)
      
        - You will have a mint function that takes two parameters: an address and a value. The function then increases the total supply by that number and increases the balance of the “sender” address by that amount
      
        - Your contract will have a burn function, which works the opposite of the  mint function, as it will destroy tokens. It will take an address and value just like the mint functions. It will then deduct the value from the total supply and from the balance of the “sender”.
      
        - Lastly, your burn function should have conditionals to make sure the balance of "sender" is greater than or equal to the amount that is supposed to be burned.
      

      Functionality:

        - Has the ability to "mint" TOKENS and store them in totalSupplyPool and walletAddress.
        - Mapping of walletAddress to balances.
        - Has the ability to burn TOKENS from wallet and totalSupplyPool.
        - Has the ability to to check if the balance of "sender" is greater than or equal to the amount that is supposed to be burned.
      

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.