@satrush/staking-client
v0.1.0
Published
TypeScript client to interact with SatRush's Staking on-chain program.
Readme
@satrush/staking-client
TypeScript client for the SatRush Stake on-chain program, built on @solana/kit.
src/generatedis rendered by Codama from the program's IDL (pnpm buildregenerates it): account codecs and fetchers, instruction builders and parsers, error constants, and the program address.src/pda.tsderives the treasury, position, and associated token addresses.src/reward.tsprojects what aclaim_rewardsent now would pay, replaying the on-chain fixed-point arithmetic over decodedTreasuryandPositionaccounts.
The Rust client at sdk/rust/client exposes the same surface; the two are kept in step.
