2

Short Answer: There is currently no single way to achieve this that has been widely adopted. Add the royalty functionality of the platforms you think you will need (like OpenSea). Example provided below. Long Answer The NFT World is divided when it comes to Royalties. As you can see here, OpenSea seems to do this off-chain by allowing you to include the ...


1

No. What you want is not possible. You cannot differentiate between somebody transferring an asset to themself (at zero cost, and zero royalty due) versus transferring to somebody else as the result of an auction (royalty is due). This basic idea is true on blockchains and also in the real world where cars and houses are often sold for the minimum reportable ...


1

First, please note that it is always possible for somebody to avoid the fee. The "official" transfer is reported as "$0" and then actual money changes hands outside the system. Anybody who has sold a car or a house understands the incentive to underreporting the value of a transaction. In general, the only way to collect a fee is to also ...


1

Your call is sending devAddress to the setRoyalties method which expects in its place address payable _royaltiesReceipientAddress. Since its expecting a paybale address on the function you have to convert it before it goes to the method, you can do so by casting it as payable while calling the function: setRoyalties(_tokenIdTracker.current(),payable(...


Only top voted, non community-wiki answers of a minimum length are eligible