Paper supports marketplace contracts where the payment for an NFT is sent to a user on your platform!
Integration is identical to NFT drop projects. For the
mintMethod, provide your smart contract's equivalent "buy" method that does the following:
- Accepts the wallet address where the NFT should be delivered.
- Accepts payment in the chain's native coin or USDC.
- Transfers the NFT from the seller to the recipient's wallet address. Remember that
msg.senderwill be Paper's float wallet and not the buyer's wallet address.
- If this buy method should not be called by other buyers, consider restricting contract calls to Paper.
If registering your contract on the Developer Dashboard: Contracts page, enable Secondary Sales Marketplace.
If using the Register Contract API, set
Updated 20 days ago