Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anza-xyz/solana-rpc-client-extensions
Rust and JS code to perform Solana RPC's GetStakeActivation client-side
https://github.com/anza-xyz/solana-rpc-client-extensions
Last synced: 3 days ago
JSON representation
Rust and JS code to perform Solana RPC's GetStakeActivation client-side
- Host: GitHub
- URL: https://github.com/anza-xyz/solana-rpc-client-extensions
- Owner: anza-xyz
- License: apache-2.0
- Created: 2024-08-07T14:06:35.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-16T13:00:20.000Z (24 days ago)
- Last Synced: 2024-10-19T05:07:13.856Z (21 days ago)
- Language: TypeScript
- Size: 111 KB
- Stars: 2
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - anza-xyz/solana-rpc-client-extensions - Rust and JS code to perform Solana RPC's GetStakeActivation client-side (TypeScript)
README
# 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` |## 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!