feat(rust): add NFT mint-and-transfer recipe - #250
Merged
Merged
Conversation
0xrouss-miden
approved these changes
Sep 13, 2026
0xrouss-miden
left a comment
Contributor
There was a problem hiding this comment.
Tested the full mint and transfer flow on testnet, including the final ownership checks. Rust tests and the docs build also pass. Ready to merge once #249 lands
BrianSeong99
force-pushed
the
brian/nft-mint-transfer-recipe
branch
from
September 14, 2026 09:56
c6b157c to
d98d8e4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a runnable Rust recipe that mints one NFT with the standard non-fungible faucet, consumes it into Alice's wallet, transfers it to Bob, and verifies ownership after each step. The recipe funds all three accounts with native testnet assets and waits for every transaction to commit.
Based on
mainafter #249 merged. The three NFT commits were replayed onto the merged migration on September 14. The diff contains only the five NFT recipe files (+759/-0), with no migration commits or unrelated changes.Changes
BasicWalletfor native fee funding andCodeInspectionfor the production MINT note.nft_mint_transferwith the tutorial runner and Rust doctests. Add a consistency test that keeps the published code identical to the executable.Verification
Rechecked after replaying onto
mainon September 14: all six targeted Rust tests pass, the NFT binary compiles, and Rust doctests pass (18 passed, 26 ignored). The documentation build passes with no broken-link or anchor warnings. Rustfmt, Prettier, runner syntax/discovery and diff checks pass. All three commit patches are unchanged; the executable, documentation, shared NFT helpers and dependency lockfiles match the previously validated versions. The two live testnet runs below are prior validation, not new network runs after the history cleanup.npm run build:dev: passed with no broken-link warnings.Testnet execution used the locked dependencies and
TUTORIAL_NETWORK=testnet cargo run --locked --manifest-path ../../Cargo.toml --bin nft_mint_transferfrom a fresh directory underrust-client/.tutorial-runs/. The canonical Yarn wrapper's discovery and syntax were checked; its full clean-and-run path was not executed.Follow-up and limits