Solidity by Example – Digital Marketplace

Solidity by Example - Digital Marketplace



In this video, you’ll learn how to program a digital marketplace into a smart contract with Solidity. The program will allow users to mint digital assets and then put them up for sale in a marketplace that will securely transfer the sales price from buyer to seller upon the completion of a sales transaction.

The contract will also enable the owner to set a listing price and have the value transferred to them upon the completion of a sale.

Code:
https://gist.github.com/dabit3/52e818faa83449bb5303cb868aee78f5

ERC721:
https://docs.openzeppelin.com/contracts/2.x/api/token/erc721

0:00​ – Introduction
0:56 – Creating the NFT contract
9:15 – Creating the marketplace contract
30:26 – Testing the contract
36:08 – Conclusion

source

views 9803

Leave a Comment

Your email address will not be published.

Scroll to Top