@orao-network/solana-vrf-cb
TypeScript icon, indicating that this package has built-in type declarations

0.3.1 • Public • Published

Callback VRF JS SDK

Library to interact with orao-vrf-cb smart contract on Solana network.

Provides interface to request for a verifiable randomness (Ed25519 Signature) on the Solana network.

The Callback VRF is designed for on-chain usage — this SDK might get handy if you want to build tools or infrastructure around yor Callback VRF client.

Installation

Invoke yarn install to install dependencies.

Documentation

All the structures and function are documented with typedoc:

yarn doc
open ./docs/index.html

Note that some return-type declarations may bloat the docs because of https://github.com/TypeStrong/typedoc/issues/1867

Usage examples

Please look into the CPI example — its tests are based on this SDK.

Package Sidebar

Install

npm i @orao-network/solana-vrf-cb

Weekly Downloads

19

Version

0.3.1

License

ISC

Unpacked Size

286 kB

Total Files

9

Last publish

Collaborators

  • oraodevs