Skip to content

Rust and JS code to perform Solana RPC's GetStakeActivation client-side

License

Notifications You must be signed in to change notification settings

anza-xyz/solana-rpc-client-extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

solana-rpc-client-extensions

Rust and JS code to perform Solana RPC calls on the client-side. Currently covers the following RPC calls and packages:

RPC Call Rust Package JS Package JS v1 Package
GetStakeActivation solana-rpc-get-stake-activation @anza-xyz/solana-rpc-get-stake-activation @anza-xyz/solana-rpc-get-stake-activation-v1

Other Languages

Any language with libraries to interact with Solana RPC nodes also needs this additional client-side logic, but the Anza team only maintains Rust and JS packages.

Here are other supported languages, and their associated repositories.

Language Repository
Go https://github.com/skport/solana-rpc-client-extensions-go

Motivation

The GetStakeActivation RPC code is being removed in Agave 2.0, but users may still need to get access to stake activation data.

The RPC method was removed because it's possible to get calculate the status of a stake account on the client-side.

This repo contains Rust and JS code for mimicking GetStakeActivation on the client-side. See the examples/ in each repo to see how to use them, or read the source code!

About

Rust and JS code to perform Solana RPC's GetStakeActivation client-side

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published