Skip to content

Ryvonetwork/ryvo-protocol-sdk

Repository files navigation

Ryvo Protocol SDK

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

Quick start

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);

Local development

npm install
npm run build
npm run lint

Publishing

The GitHub Actions workflow in .github/workflows/publish.yml publishes the package under packages/sdk as @ryvonetwork/sdk.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors