Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#rust-tuesday- 05/02/23: NFT Contract #1

Open
mshankarrao opened this issue Apr 29, 2023 · 0 comments
Open

#rust-tuesday- 05/02/23: NFT Contract #1

mshankarrao opened this issue Apr 29, 2023 · 0 comments

Comments

@mshankarrao
Copy link
Collaborator

mshankarrao commented Apr 29, 2023

Task Specification: Creating an NFT Contract using Rust and Ink

Overview:

You are required to create a Non-Fungible Token (NFT) contract using the Rust programming language and the Ink smart contract language. The NFT contract will be deployed on the impact protocol(a guide is given here), and it will allow users to mint, transfer, and burn NFTs.

Requirements:

  1. Rust and Ink: Use Rust and Ink

  2. NFT Contract Design:
    The NFT contract should conform to the ERC-721 standard, which is a widely-used standard for NFTs on the Ethereum blockchain. The contract should implement the following functionalities:

  • Minting: Allow users to mint NFTs by calling a mint function. The mint function should take as input the token ID and any metadata associated with the token. Each token should have a unique ID that is not already in use.
  • Transferring: Allow users to transfer ownership of an NFT by calling a transfer function. The transfer function should take as input the recipient's address and the token ID.
  • Burning: Allow users to burn NFTs by calling a burn function. The burn function should take as input the token ID and destroy the token.
  1. Testing and Deployment:
    Make sure you have all the code properly unit tested and its working as expected. Make sure you have all the test in the code. It must and should be deployed in the impact chain.

Deliverables:

  1. Source Code: Your Github url
  2. Please include a simple readme to test and deploy

Timeline:

The timeline for this project will be by Friday 11:59pm EST.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant