Skip to content

Conversation

@drichar
Copy link
Contributor

@drichar drichar commented May 8, 2025

Description

This PR adds support for specifying a different reservedFor address when minting an NFD. This allows minting an NFD that will be owned by a different address than the buyer/signer of the transaction.

Details

  • Added optional reservedFor parameter to NfdMintParams interface in SDK
  • Added validation of reservedFor address in SDK mint method
  • Added input field to example app for specifying reservedFor address
  • Updated minting logic in example app to pass reservedFor parameter when provided
  • Maintained backward compatibility by keeping reservedFor optional

drichar added 2 commits May 8, 2025 00:05
Add optional `reservedFor` parameter to `NfdMintParams` interface, allowing NFDs
to be minted and reserved for a different address than the buyer. If not specified, the
behavior remains unchanged and uses the buyer's address.
Add input field to allow specifying an optional `reservedFor` address when minting
an NFD in the example app. This demonstrates the new SDK capability to mint NFDs
that are reserved for a different address than the buyer.
@drichar drichar merged commit 1d7a4c7 into main May 8, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants