NFT Smart Contract with a Royalty

This page summarizes the projects mentioned and recommended in the original post on /r/solidity

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • eattheblocks

    Source code for Eat The Blocks, a screencast for Ethereum Dapp Developers

    I'm trying to implement a functionality of giving a royalties to the owner after NFTs are sold on the secondary market. As I understand there is no default method or something to give a royalty, so I often see the following solution: https://github.com/jklepatch/eattheblocks/blob/master/screencast/379-nft-royalties/contracts/NFT.sol As I understand I have to pass a token to the constructor of this contract before deploying it. So the question is: if I want to mint and sell NFTs on the Ethereum Mainnet, which token should I pass inside the contract constructor? I see this guy implemented his own token for this purpose, but honestly I don't understand how is it compatible with ETH https://github.com/jklepatch/eattheblocks/blob/master/screencast/379-nft-royalties/contracts/MockToken.sol

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts