Hey, from what I know, the marketplaces send royalties automatically to the creator (also SC) (I know that from people running projects). I wonder what the purpose of these endpoints is:
- https://github.com/ElrondNetwork/elrond-wasm-rs/blob/master/contracts/examples/nft-minter/src/lib.rs#L67
- https://github.com/ElrondNetwork/sc-nft-collection-minter/blob/main/nft-minter/src/nft_marketplace_interactor.rs#L24
I think I understand what the endpoints do, but why is it needed? The only purpose that I see is when the smart contract isn't payable, and then it could serve as a fallback or/and it could serve as an option to implement more logic around royalties, like split payment, etc. Are there other more important reasons?
By the way, are there marketplaces with working and up-to-date devnets to test such things?
We had it on devnet.trust.market but it’s not running the best as the focus in the last period was on the latest migraiton. But you could try it out do a trade there and claim royalties for that token and nonce
We don’t send from trust.market (not directly, you have to send us a message to WL your SC after we check is a good one, or you can claim them as above)
We had it on devnet.trust.market but it’s not running the best as the focus in the last period was on the latest migraiton. But you could try it out do a trade there and claim royalties for that token and nonce
Is for protecting the cross shard txs to non payable SCs where the funds will get lost in the marketplace SC
We don’t send from trust.market (not directly, you have to send us a message to WL your SC after we check is a good one, or you can claim them as above)
Thats for the owner to claim/get the funds from the SC