Goal
Add a focused Rust recipe showing the complete v0.16 NFT flow:
- Create authenticated Alice and Bob wallets.
- Create a user
NonFungibleFaucet.
- Compute an NFT asset commitment from metadata and a salt.
- Mint the NFT to Alice through the production
MintNote / MintNoteStorage flow.
- Have Alice consume and transfer the NFT to Bob.
- Have Bob consume it and verify final ownership.
Dependency
Blocked until the tutorials Rust client is migrated from v0.15 to v0.16. Philipp is working on that migration. Implement this from updated main after it lands; do not introduce a second temporary dependency stack.
Deliverables
- A concise page under
docs/src/rust-client/.
- A matching runnable binary under
rust-client/src/bin/.
- Registration in
docs/src/lib.rs and the Rust tutorial runner.
- The documentation and runnable example use the same flow.
- The recipe explains that
compute_asset_commitment(metadata, salt) is an off-chain convention. The faucet does not validate the metadata, salt, or knowledge of the preimage.
Acceptance criteria
Out of scope
Fees, burning, Web/React SDKs, marketplace behavior, and metadata hosting. Reuse the canonical v0.16 network and fee bootstrap established by the migration without teaching fees in this recipe.
Goal
Add a focused Rust recipe showing the complete v0.16 NFT flow:
NonFungibleFaucet.MintNote/MintNoteStorageflow.Dependency
Blocked until the tutorials Rust client is migrated from v0.15 to v0.16. Philipp is working on that migration. Implement this from updated
mainafter it lands; do not introduce a second temporary dependency stack.Deliverables
docs/src/rust-client/.rust-client/src/bin/.docs/src/lib.rsand the Rust tutorial runner.compute_asset_commitment(metadata, salt)is an off-chain convention. The faucet does not validate the metadata, salt, or knowledge of the preimage.Acceptance criteria
MintNote/MintNoteStorage.PaymentNoteDescriptionandbuild_pay_to_id.yarn tutorials --rust=nft_mint_transferpasses.Out of scope
Fees, burning, Web/React SDKs, marketplace behavior, and metadata hosting. Reuse the canonical v0.16 network and fee bootstrap established by the migration without teaching fees in this recipe.