1.6 KiB
1.6 KiB
1. Public APIs
- 1.1 Add the documented checked-burn transaction builder to
SolanaBlockChainusing the existing burn input ValueTags. - 1.2 Add the documented human-readable SPL-token burn operation to
SolanaWalletwith submission-only semantics.
2. Blockchain Construction
- 2.1 Implement pre-RPC raw amount, decimal, program, and Solana address validation in
SolanaBlockChainImpl. - 2.2 Serialize one unsigned
BurnCheckedtransaction with owner authority/fee-payer semantics, a recent blockhash, and selectable legacy SPL Token or Token-2022 program. - 2.3 Add direct, uncached burn-construction delegation to
CachedSolanaBlockChain.
3. Wallet Burn Flow
- 3.1 Implement mint lookup, supported-program detection, supply/holding lookup, decimal consistency, and exact human-to-raw amount conversion in
SolanaWalletImpl. - 3.2 Enforce missing-state and balance failures while permitting an exact complete-balance burn without closing the token account.
- 3.3 Build, sign, and submit exactly once through existing flows, return the signature immediately, and add no awaiting, retry, or resubmission.
4. Verification
- 4.1 Compile main and test source sets without adding or modifying tests and without executing a live burn or submission.
- 4.2 Run strict OpenSpec validation and
git diff --check. - 4.3 Review the complete diff for both token programs, exact amount conversion, complete-balance support, direct cached delegation, submission-only behavior, no generated/test changes, and no unrelated modifications.