Humanized wallet - #240
Open
3esmit wants to merge 1 commit into
Open
Conversation
Collaborator
Author
E2E verification
Read-only testnet validation used the matching deployed AMM program. No transaction was submitted. Trade and liquidityWalletAll-assets walletThe all-assets view below uses the fixture's initialized testnet token records. |
3esmit
force-pushed
the
humanized-wallet
branch
3 times, most recently
from
August 10, 2026 14:20
3a7722e to
7a8357e
Compare
3esmit
force-pushed
the
humanized-wallet
branch
from
August 19, 2026 07:22
7a8357e to
468e56d
Compare
Consolidate wallet account decoding and portfolio handling around the shared Rust IDL decoder. Simplify AMM wallet integration, remove obsolete caches and network plumbing, and cover account selection and live flows.
3esmit
force-pushed
the
humanized-wallet
branch
from
August 21, 2026 20:42
468e56d to
8c3e6fc
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
Humanizes the shared wallet experience in the AMM UI by presenting wallet
state, token holdings, and decoded program accounts as useful account data
instead of raw account records. Generic wallet infrastructure now lives in the
shared wallet module rather than AMM-specific sources.
Changes
controls for account creation, status, transaction feedback, copying, and
account presentation
definition caching, and portfolio processing into
apps/shared/walletreuse shared network identity and portfolio services
holdings, and program-account fields, using committed IDLs from
artifacts/read or token decode fails; reject stale probe and refresh responses
handling, portfolio caching, stale state, and wallet presentation
Validation
git diff --checknix build .#amm-ui --no-linkcargo +nightly fmt --all -- --checktaplo fmt --check .RISC0_SKIP_BUILD=1 cargo +1.94.0 clippy --workspace --all-targets -- -D warningsRISC0_DEV_MODE=1 cargo +1.94.0 test --workspace --exclude integration_testsRISC0_DEV_MODE=1 cargo +1.94.0 test -p integration_tests