Dynamic dispatch example + testing-wallet-adapter-changes skill#82
Open
iamalwaysuncomfortable wants to merge 32 commits intomasterfrom
Open
Dynamic dispatch example + testing-wallet-adapter-changes skill#82iamalwaysuncomfortable wants to merge 32 commits intomasterfrom
iamalwaysuncomfortable wants to merge 32 commits intomasterfrom
Conversation
Added an optional imports property for dynamic dispatch functions. Signed-off-by: Mike Turner <mike@provable.com>
…ude skill for testing new code submitted
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
emmaprice082
previously approved these changes
Apr 23, 2026
The merge-base changed after approval.
d0cd
previously approved these changes
Apr 23, 2026
The merge-base changed after approval.
Collaborator
|
Waiting on updates from @iamalwaysuncomfortable |
emmaprice082
previously approved these changes
Apr 28, 2026
The merge-base changed after approval.
Collaborator
|
please wait for @dms120 to review before merging |
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
examples/react-app/src/components/functions/DynamicDispatch.tsxthat exercises the newTransactionOptions.importsfield by callingtoken_router.aleo/route_transferwithimports: [<token>]. Includes prep buttons formint_publicandapprove_publicontoka_token.aleo/tokb_token.aleoso the dispatch can finalize end-to-end..claude/skills/testing-wallet-adapter-changes/SKILL.md— a reusable playbook for validating future wallet-adapter changes against a real extension install.toka_token.aleo,tokb_token.aleo, andtoken_router.aleoto the example's defaultprogramsAtomso first-run Connect negotiates permission for the dispatch flow.Screenshot

Test plan
pnpm --filter react-app-example buildsucceeds.importsplumbing loaded, connect on Testnet, navigate to/dynamic-dispatch, click Mint toka_token, Approve router (toka), then Execute route_transfer — confirm Accepted and a nestedtoka_token.aleo/transfer_from_publictransition on the explorer.Run the Aleo Dev Toolkit example app
Prerequisites: Node ≥18, pnpm ≥10 (
corepack enable), Chromium browser, Shield wallet with a Testnet account.Open http://localhost:5173/, click Connect Wallet, approve on Testnet.
If you hit
"<program>.aleo is not in the allowed programs", open the header Programs dropdown, add the program, then disconnect + reconnect.Demos
TransactionOptions.importsfield viatoken_router.aleo/route_transfer. Press Mint → Approve router → Execute route_transfer in order.Running against a local Shield build
Dynamic Dispatch needs a Shield build that threads
importsthrough to the SDK (shield-extension master, commit 3f6eadae+):