TypeScript SDK for the decentralized Ryvo Protocol on Solana.
This repository publishes the protocol-facing SDK used to interact with the Ryvo onchain program:
| Package | Description | Install |
|---|---|---|
@ryvonetwork/sdk |
Protocol SDK — PDAs, message builders, settlement helpers, and RyvoClient |
npm i @ryvonetwork/sdk |
import * as anchor from "@coral-xyz/anchor";
import { RyvoClient } from "@ryvonetwork/sdk";
const provider = anchor.AnchorProvider.env();
const client = new RyvoClient({ provider });
const participant = await client.fetchParticipant(provider.wallet.publicKey);npm install
npm run build
npm run lintThe GitHub Actions workflow in .github/workflows/publish.yml publishes the package under packages/sdk as @ryvonetwork/sdk.
MIT