@pesa/sdk is in preview. Access is by request until it is published on npm. Write to the team through pesapay.xyz.Install
viem (2.x) and @stellar/stellar-sdk (16.x) are peer dependencies. The SDK uses them to decode and check EVM calls and Stellar transactions. Install exactly one copy of @stellar/stellar-sdk in your bundle: the Stellar verifiers use instanceof, which fails across two copies.
The package is ESM only and runs in browsers, React Native and Node.
What is in it
Create a client
getToken is called before every authenticated request, so it can refresh a token on demand. See Authentication.