Adding Royalty to NFT Smart Contract for Opensea and other marketplaces | ERC 2981 Tutorial

Поделиться
HTML-код
  • Опубликовано: 7 ноя 2024

Комментарии • 93

  • @sadatmirza
    @sadatmirza 2 года назад +7

    hi, thanks for the videos that you are making, can you please advise how can we put multiple wallets and multiple shares in the royalty info?

    • @danieldil6198
      @danieldil6198 2 года назад

      have you found a solution for this?

  • @moderndilemmas_
    @moderndilemmas_ 2 года назад +1

    Mr Wonderful approves of this video.
    Royalty masterrace

  • @GenDipDipper
    @GenDipDipper 2 года назад

    a mic would take your content to the next level! Great Work G

  • @dennisdecoene
    @dennisdecoene 2 года назад

    Waw man, very good info sir! I hope older marketplaces like OS will start to use this interface!

  • @danieldil6198
    @danieldil6198 2 года назад

    Awesome video have you tried the eip4910?

  • @oground
    @oground Год назад

    i have a question. how much are this contracts cost in gas to deploy on opensea? I know it ranges but is it alot? I would have loved to see him deploy then change the royalty values and URI afterward in a real demo.

  • @이주명-b4k
    @이주명-b4k 2 года назад +1

    Hello ! Thanks a million for the video !! I could learn lots of things.
    Even you said royalty is honored by market places, I have a question which is possible to make enforced royalty in my NFT smart contract? Then, NFTs which minted by my smart contract has a powerful royalty rule whatever market places.. does it make sense? or stupid?

  • @iamgroot9024
    @iamgroot9024 2 года назад

    Thanks so much for your videos! They are excellent! Quick question: Do we need to implement this Royalty to the smart contract or can we set the royalty on Opensea directly when creating the collection?

    • @Web3_Club
      @Web3_Club  2 года назад

      If you don't set in contract, you'll have to manually set in every marketplace

  • @zolac9732
    @zolac9732 2 года назад

    Thanks a million. Can the royalties be split between more that one royalty fee receiver for EIP2918

    • @Web3_Club
      @Web3_Club  2 года назад

      No, but you can send it to a payment splitter which eventually splits it

  • @yemarz
    @yemarz 2 года назад

    Hey, great video! Love how you show different methods!
    Can you explain to me more about the contractURI in this video. Is it still required to put the percentages in the metadata on the json files if you use the OpenZepplin ERC-2981for import and set the default using the setRoyaltyInfo function?

    • @Web3_Club
      @Web3_Club  2 года назад

      Opensea doesn't support 2981 so we need contract uri for that

    • @yemarz
      @yemarz 2 года назад

      @@Web3_Club Ah, I see. So, I need to make a json file that declares all the royalty information for marketplaces such as Opensea to recognize.

  • @johnsnow1279
    @johnsnow1279 2 года назад +1

    1) Is the point of the contractURI to have more info (like name/description) off-chain? So I have to manually update the royalty fee on metadata json if SmartContract changes. 2) the part on OpenSea, were you trying to show that royalty could be implemented on OpenSea with out any additions/changes to smartcontract? Thanks!

    • @Web3_Club
      @Web3_Club  2 года назад

      1 - few other marketplaces use contract URI so it's just a single place to update royalty for all
      2 - yes

    • @danieldil6198
      @danieldil6198 2 года назад

      @@Web3_Club so is the URI an alternative for the 2981 since opensea doesn't support it

  • @jiteshkumar7577
    @jiteshkumar7577 6 месяцев назад

    My buyer is asking for deposit ETH by using opensea smart contract. Is the genuine or scam please reply

  • @pradyumncs
    @pradyumncs 2 года назад

    I have a doubt sir . I've created a nft marketplace . I want to list a 2.5 percent fees for every nfts sold by other users to my marketplace address same as how opensea does .
    How do I do that sir . What do I do . Please help me

  • @Ricardonaokihoriguchi
    @Ricardonaokihoriguchi 2 года назад

    Good video my friend! Thank you very much! Very clarifying!

  • @rushalishah2104
    @rushalishah2104 2 года назад +1

    Hello Shobhit!
    I had a doubt about the contract URI. How exactly do we get one?

  • @therealxavi3r
    @therealxavi3r 2 года назад

    just what I needed, thank you much

  • @LeeJunNakao
    @LeeJunNakao 2 года назад

    Do you know any marketplace that work with ERC-2981 standard?

  • @sialmusharraf
    @sialmusharraf 2 года назад

    How to set royality to OLD NFt which are minted without implementation of 2981?

  • @marijasartchannel8888
    @marijasartchannel8888 2 года назад +1

    Is there another way to make smart contract as an royal creator? On open sea as an artist I want to set 10% for royalty fee

  • @danieldil6198
    @danieldil6198 2 года назад

    Can we split royalties with another eth wallet with this erc?

  • @sushmakale1539
    @sushmakale1539 2 года назад

    Is this royalty always set for collection owner, can we give royalty to two different address collection owner and creator of nft

    • @Web3_Club
      @Web3_Club  2 года назад

      You can send the royalty to a smart contract that then splits it between two addresses

  • @SumeetChawla
    @SumeetChawla 2 года назад +1

    🔥🔥🔥 wen airdrop ser?

  • @arielcalodolce5324
    @arielcalodolce5324 2 года назад

    Hi! thanks for your contribution! i have a question. i implemented your code but open sea always have the Percentage fee from the metadata. It is not overrided by the percentage that i sets in the smart contract with
    royaltyFeesInBips = 300;
    royaltyAddress = owner();
    can you imagine what is my problem?

  • @rikitv7029
    @rikitv7029 2 года назад

    Hey. I actually followed your video and minted an nft in Opensea, but if I go to Opensea, it sayst he Creator Fees is still 0% ( though I added 7.50% in the contract ). Any suggestions?

  • @danielany1590
    @danielany1590 2 года назад

    Awesome video, thanks!

  • @Pentagon_Uncensored
    @Pentagon_Uncensored 2 года назад

    Can an existing bep20 smart contract token add an nft feature to their existing contract?

  • @chiaku4898
    @chiaku4898 2 года назад

    Hi thank you!! very useful content. Want to update the community about the bigger marketplaces --> Looksrare follows the erc2918 interface. And Opensea and x2y2 are not following.

  • @aliabbasi9779
    @aliabbasi9779 2 года назад

    @Web3 Club I have 10k nfts, none of them is minted yet. If i made these changes to my smart contract, will I be able to get royality or I need to update JSON of all 10k nfts as well? Thanks a bunch.

    • @Web3_Club
      @Web3_Club  2 года назад +1

      Updating json doesn't do anything, you need to have these things in your smart contract

  • @terrywindwalker5397
    @terrywindwalker5397 2 года назад

    Hi there, is the contractURI still working for Opensea? I created several smart contracts on Rinkeby and none of them loads my metadata on Opensea testnet.

  • @DaveSchatz
    @DaveSchatz 2 года назад +1

    Thanks so much for the detailed technical content! Really appreciate you taking the time to make this. Since it is up to the marketplace to enforce royalty payments upon sales this doesn't affect all transfers. I know another approach is to make the transferFrom() and safeTransferFrom() methods payable and manually enforce royalties that way to guarantee they are always enforced at the contract level. Can you share your thoughts on these approaches?

    • @Web3_Club
      @Web3_Club  2 года назад +2

      Haven't seen it deeply, but from first glance it shouldn't be effective as the value is sent to marketplace's smart contract and not to the NFT's smart contract

    • @ammarhaider1530
      @ammarhaider1530 2 года назад

      can't make transferFrom payable as in its definition it is not payable so marketplaces don't know a payable transferFrom method.
      Second thing is user might have to transfer his NFT to some other address and not selling actually in that case again there will be royalty deducted which is not how it should work.

    • @DaveSchatz
      @DaveSchatz 2 года назад +2

      @@ammarhaider1530 you actually can make transferFrom() payable and it is perfectly compatible with the official ERC-721 specification. I assume you're inheriting from the OpenZepplin contracts, which is great, but they would need to be modified to make this work (which is still compliant with the spec). Also, transferring between wallets with a cost of 0 eth would have no effect on royalties since there's no eth to split between recipient and royalty wallet.
      Happy to help answer any other questions you might have. Best of luck as you continue your web3 development journey.

    • @maazjawaid3398
      @maazjawaid3398 2 года назад +1

      @@DaveSchatz How we know the sell price of the NFT if someone just call transferFrom function?

    • @eharrison
      @eharrison Год назад +1

      Hey guys, with Openseas new Optional Royalties, I'm trying tro figure out
      Does the Smart Contract in this video
      Enforce Royalties on chain, even if Opensea or any other Marketplace does not?
      If so, this would be very helpful for Creators who have just been punched in the mouth by Marketplaces
      Thank you

  • @danieldil6198
    @danieldil6198 2 года назад

    does opensea work with 2981 yet?

  • @harrisonboyns1181
    @harrisonboyns1181 2 года назад

    Why can't we just use PaymentSplitter by opensea?

  • @rikitv7029
    @rikitv7029 2 года назад

    Hello Everyone. I am working on a little NFT Art project where the smart contract will let 333 NFTs minted. I am mainly using Moralis as it keeps thing Easy I just have an issue with the royalty part. I have watched the video and I do udnerstand everything except the Contract URI. What is the Contract URI? Is it the webpage the people will be able to call the mint function from the smart contract I am implementing? I don't think I should add images URI which will go to Opensea, right? Thanks for the help in advance.

  • @0xredpill
    @0xredpill 2 года назад

    Hey guys does this supports erc1155?

  • @coconutfromindonesia
    @coconutfromindonesia 2 года назад

    Hello Sir, thanks for this great video! this video will help artist to get royalty, really really appreciate it.
    hm..., i have a question, how do we know if we have set all codes perfectly? and how to test royalty amount will be added to our wallet? thank you for your attention

    • @Web3_Club
      @Web3_Club  2 года назад

      Make transaction on testnet and wait for sometime for opensea to deliver your royalty

  • @bitcoinovercash9151
    @bitcoinovercash9151 2 года назад

    will this work on ERC721A Contracts?

  • @jamesbutler156
    @jamesbutler156 2 года назад

    wonderful video it helped me a lot thank you :)

  • @mutantegg3921
    @mutantegg3921 Год назад

    function setRoyaltyInfo(address _receiver, uint96 _royaltyFeesInBips) public onlyOwner {
    royaltyAddress = _receiver;
    royaltyFeesInBips = _royaltyFeesInBips;
    }
    is not updating the % to the opensea ?

    • @mutantegg3921
      @mutantegg3921 Год назад

      royaltyFeesInBips not updating after deployment its updated in contract but not opensea

    • @Web3_Club
      @Web3_Club  Год назад

      For opensea, you HAVE to do it via their interface.

  • @RoboBubo
    @RoboBubo 2 года назад

    Thanks; This is helpful.

  • @parthgupta5058
    @parthgupta5058 2 года назад

    if I want royalties to be sent to different adresses for different nfts(token ids), would that be possible with opensea?

  • @jycehamilton206
    @jycehamilton206 2 года назад

    Can I do pre-sale , whitelist, reveal smart contract in particular one contract like all these in one contract ? And how? Thank you.

    • @Web3_Club
      @Web3_Club  2 года назад +1

      Yes you can

    • @jycehamilton206
      @jycehamilton206 2 года назад

      @@Web3_Club Thank you so much. Can you guide how can one do it ? If you have enough time.👍👍 thanks again.

  • @andreysakharov6210
    @andreysakharov6210 2 года назад

    nice!

  • @写软件的老刘
    @写软件的老刘 2 года назад

    Hello, I wrote a smart contract. It has been released to the mainnet. But I forgot to write the withdrawal method! Can it be remedied?

  • @AlexAlex-hw4kr
    @AlexAlex-hw4kr 2 года назад

    Keep it up 👍

  • @akhileshgoswami7699
    @akhileshgoswami7699 2 года назад

    can't we create a sc something like this that for that sc anyone can come an mint the NFT and royalties for each NFT will go to the nft creator

  • @todorvachev7764
    @todorvachev7764 2 года назад

    Hello, does this really work for Opensea? We are two teams working on our project and I want to find a way to set the royalties split within the contract so that there isnt only one team who has access and power to change settings in Opensea. Do you have any advice how to ensure that the splits will stay forever as they are set for Opensea?

    • @cryptonicchronic8111
      @cryptonicchronic8111 Год назад

      set up a split payment contract, set the addresses that are payable and deploy then do a simple % calculation of whatever market fees to payout to the split payment contract. quick version of one way

  • @geekhacksandtricks
    @geekhacksandtricks 2 года назад

    Bro, please send me the links of the video to create smart Contract, IPFS, for 10k collection on polygon or eth or any.
    I am an artist, but i don't know this stuff. i can't find those videos exactly.

  • @rahulmayekar5384
    @rahulmayekar5384 2 года назад

    I had set the royalties as 2.5% in the smart contract, but Rarible pics up the royalty as 2%, I even made a smart contract with royalties using Rarible's own royalty smart contracts, but even after that rarible picks up the royalty as 2% instead of 2.5%, I am using basis points only for royalties. what can be the solution.

    • @Web3_Club
      @Web3_Club  2 года назад

      can you share contract code and screenshots in discord?

    • @rahulmayekar5384
      @rahulmayekar5384 2 года назад

      @@Web3_Club yes, I will

  • @kotharisurbhi9529
    @kotharisurbhi9529 2 года назад

    Can you please provide collection functionality for NFT marketplace ?

  • @altcoincash
    @altcoincash 2 года назад

    Can this be implemented like this on ERC1155 contracts too?

    • @Web3_Club
      @Web3_Club  2 года назад +1

      Yes, no change needed

    • @johnsnow1279
      @johnsnow1279 2 года назад

      @@Web3_Club How would supportsInterface function look like if implemented in ERC1155?

    • @Web3_Club
      @Web3_Club  2 года назад

      @@johnsnow1279 should be the same

  • @Prixzlex
    @Prixzlex 2 года назад

    What if someone person interacts with your contract directly from remix or their own code, can Dey bypass the royalty?

    • @Web3_Club
      @Web3_Club  2 года назад

      As I said in the video, royalties are honoured by marketplaces, smart contracts can only give out the information on the amount

  • @bhavitahuja6940
    @bhavitahuja6940 2 года назад +1

    Hey Shobhit,
    Love your videos. I need to talk to you privately for some help, Can we do that somehow?
    Let me know
    Thank you

    • @Web3_Club
      @Web3_Club  2 года назад

      My email is in about section of channel

  • @vidiohs
    @vidiohs 2 года назад

    ty ty ty

  • @matrixnfteecom4033
    @matrixnfteecom4033 Год назад

    TY

  • @nikhilkadam9255
    @nikhilkadam9255 2 года назад

    Make video on this: how to scrap info from api?

  • @freeeemovies
    @freeeemovies 2 года назад

    @Web3 Club Thanks For This Great Video Its Really Helpfull Can you tell me about ERC1155 Multi coin NFT if owner only do minting anfter that he wants to sell his nfts to multiple user with 10% comission on every transfer how we can do it?

    • @Web3_Club
      @Web3_Club  2 года назад

      It's the same 721

    • @freeeemovies
      @freeeemovies 2 года назад

      ​@@Web3_Club Thanks For Your Reply Yeah I Know That Its Same Like 721 I just Want to Know That i Created a ERC1155 Multi Coin NFT with code structure like only admin can mint thats ok till here now when owner mint he get same coins example 1 id 15 token he get ok now how this 15 token i transfer to other users and they sell or buy trade with those 15 token each other and on every transaction i get 10 %...... Thanks

  • @ethereumDev
    @ethereumDev 2 года назад

    GM GM GM!