GithubHelp home page GithubHelp logo

kashaniarya / mint-nft Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 9 KB

Project involves writing, testing, and deploying an ERC-721 Token Standard smart contract on the Polygon Mumbai Testnet

JavaScript 100.00%

mint-nft's Introduction

Mint-NFT

Project involves writing, testing, and deploying an ERC-721 Token Standard smart contract on the Polygon Mumbai Testnet

Project Overview:

  • Objective: Gain practical experience with the Ethereum ecosystem, specifically ERC-721 Token Standard smart contracts.
  • Purpose: Familiarize with Ethereum and blockchain development for EVM-based Web3 projects, including DAOs and NFTs.

Background:

  • Deployment on Polygon Mumbai Testnet (part of EVM Ecosystem), using MATIC as the currency.
  • Introduction to token standards, focusing on ERC-721 for interoperable applications.

ERC-721 Token Standard:

  • Definition: A non-fungible token standard widely used in Ethereum for unique tokens.
  • Specific methods and events defined for ERC-721 contracts.
  • Examples of methods include balanceOf, ownerOf, and safeTransferFrom.
  • Examples of events include Transfer, Approval, and ApprovalForAll.

Set-Up Tasks:

  1. Install MetaMask for connecting to Polygon Mumbai Network.
  2. Configure Polygon Mumbai Testnet on MetaMask.
  3. Acquire MATIC using Polygon Mumbai Testnet Faucet.
  4. Utilize Remix IDE and Solidity for smart contract development.
  5. Understand and use IPFS for storing files and images.

Project Tasks:

Task 1 - Complete the getDeviceByKey function: Objective: Retrieve a device record by its composite key (device_serial and price). Functionality: Complete the code for the getDeviceByKey function to return the device record based on the composite key.

Task 2 - Complete getter and setter methods for the lastUpdate field: Objective: Implement lastUpdate field for DeviceRecord. Functionality: Create setlastUpdate and getlastUpdate functions to manipulate the lastUpdate field of DeviceRecord.

Task 3 - Complete updateLastUpdate function: Objective: Update the last update date of a device record. Functionality: Complete the updateLastUpdate function to update the last update date of a device record.

Task 4 - Complete queryByCompany function: Objective: Query device records by company. Functionality: Build an index on the company attribute and complete the queryByCompany function to retrieve records based on the company.

Task 5 - Complete querybyDevice_Type function: Objective: Query device records by device_type. Functionality: Build an index on the device_type attribute and complete the querybyDevice_Type function to retrieve records based on device_type.

Task 6 - Complete querybyDevice_Type_Dual function: Objective: Query device records by two device types. Functionality: Build an index on two device types and complete the querybyDevice_Type_Dual function to retrieve records with the specified device types.

Task 7 - Complete the unknownTransaction function: Objective: Handle unknown transactions. Functionality: Implement the unknownTransaction function to throw an error message when a non-existent function is called.

This project offers practical learning in blockchain development, focusing on ERC-721 token contracts and the Polygon Mumbai Testnet.

mint-nft's People

Contributors

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