Nft-Solidity – Nft坚固性区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,Nft-Solidity – Nft坚固性区块链毕设代写 是一篇很好的国外资料

Nft-Solidity

Homework for Blockchain class, creating an Nft ERC721 token using Solidity.

Task

Non-fungible tokens can represent ownership over digital or physical assets. These tokens are distinguishable, and you must track the ownership of each one separately.

Design and implement an ERC721 compliant digital image token. (You can find the associated Ethereum Improvement Proposal here: https://eips.ethereum.org/EIPS/eip-721 If your platform is not Solidity, adapt the ERC721 specification accordingly.)

Each digital image token shall have a unique identifier and an URL (the location of the image). Users can create new tokens and then buy and sell them among themselves (in Solidity, for Ether. Otherwise, create some sort of “unit of value” on the ledger that we assume the participants accept). Each token should have one owner at any time. The number of tokens a user may own is not limited.

Homework owner: Bendegúz Gyönki

Developer enviroment setup

  1. Install Visual Studio Code
  2. Install Solidity plugin for Visual Studio Code (used for proper syntax highlighting)
  3. Install Ganche for a local blockchain
  4. Clone this project to a desired folder

Installing dependencies

npm install

Building the Token

npm run compile

Testing

Test files can be located under /test folder

To run the tests run the following command

npm test

Update ImageNft.sol


Nft-Solidity

Homework for Blockchain class, creating an Nft ERC721 token using Solidity.

Task

Non-fungible tokens can represent ownership over digital or physical assets. These tokens are distinguishable, and you must track the ownership of each one separately.

Design and implement an ERC721 compliant digital image token. (You can find the associated Ethereum Improvement Proposal here: https://eips.ethereum.org/EIPS/eip-721 If your platform is not Solidity, adapt the ERC721 specification accordingly.)

Each digital image token shall have a unique identifier and an URL (the location of the image). Users can create new tokens and then buy and sell them among themselves (in Solidity, for Ether. Otherwise, create some sort of “unit of value” on the ledger that we assume the participants accept). Each token should have one owner at any time. The number of tokens a user may own is not limited.

Homework owner: Bendegúz Gyönki

Developer enviroment setup

  1. Install Visual Studio Code
  2. Install Solidity plugin for Visual Studio Code (used for proper syntax highlighting)
  3. Install Ganche for a local blockchain
  4. Clone this project to a desired folder

Installing dependencies

npm install

Building the Token

npm run compile

Testing

Test files can be located under /test folder

To run the tests run the following command

npm test

Update ImageNft.sol

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/22354.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » Nft-Solidity – Nft坚固性区块链毕设代写

提供最优质的资源集合

立即查看 了解详情