The checkout flow will ask users where they want the NFTs to be delivered. If they don’t have a wallet, Crossmint will create one on-the-fly, accessible from crossmint.com or from your website, if you use embedded wallets.

However, if you already know the wallet address of the user, you can pass it to the checkout component.

Specifying the recipient would force delivery to that address. Users will not be able to modify it on the checkout.

Specifying the Recipient of the NFT

The implementation differs slightly between the Hosted and Embedded checkouts.

Add a mintTo property to the button component:

<CrossmintPayButton
  // other properties removed for brevity
  mintTo="_WALLET_ADDRESS_"
/>