Skip to main content
The SDK is designed for Node.js (version 20 or higher) and is distributed as an ESM-only package. The library provides:
  • Wrappers to the P2P.ORG Staking API endpoints.
  • Methods for decoding and verifying transactions.
  • Testing-only helpers for signing transactions. Note that for production environments, it is recommended to sign transactions via wallet software or hardware wallets or a dedicated signer service.
To start using P2P.ORGStaking SDK, initialize a StakingApiClient and use the object corresponding to your network: More networks will be added in future versions.