You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(wasm-solana): complete Jito stake/unstake and sign generated keypairs in Rust
Jito staking:
- Add ATA creation support (createAssociatedTokenAccount field)
- Derive withdraw authority PDA, destination/source pool accounts, and
referral pool account when not explicitly provided
- Use validatorAddress as fallback for stakePoolAddress
Jito unstaking:
- Build full 4-instruction pattern: Approve, CreateAccount, WithdrawStake,
Deactivate (matches legacy SDK behavior)
- Build SPL Token Approve instruction manually to avoid spl-token v6/v3
type incompatibility
Generated keypair signing:
- Sign generated keypairs (stake/unstake accounts) in Rust inside
build_from_intent before returning to JS
- Signatures survive the wasm-bindgen boundary because WasmTransaction
is a heap-allocated Rust object that JS holds a handle to
- Add sign_with_secret_key to WasmTransaction and sign to WasmKeypair
for use by other callers
BTC-3025
0 commit comments