0

We have created nft-marketplace in substrate, 1 collection has 100 NFT. We only need to send all the amount of nft only after all nft are sold and until we wan't to hold the amount somewhere. How to implement this scenario?

2
  • 1
    you implemented this using pallet development or using smart contracts? Aug 11 at 7:31
  • we implemented using pallet @ImmanuelJohn
    – Ganesh11
    Aug 11 at 10:53

1 Answer 1

1

You could derive a unique account from the NFT collection which receives the funds. When the last NFT of this collection is sold you transfer the funds from the derived account to the NFT collection creator (and remove the derived account).

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.