@infinex/solana-client
TypeScript icon, indicating that this package has built-in type declarations

0.0.21 • Public • Published

@infinex/solana-client

Client to interact with the Infinex Solana Programs.

Usage

Client Creation

const solanaClient = createClient({
  environment: "devnet" // or "localnet" / "mainnet"
  payer: Keypair.fromSecretKey(JSON.parse(process.env["MY_KEYPAIR_ENV"])), // fee payer keypair
  connection: "https://api.devnet.solana.com" // rpc url or `@solana/web3.js` `Connection` instance.
});

Readme

Keywords

none

Package Sidebar

Install

npm i @infinex/solana-client

Weekly Downloads

366

Version

0.0.21

License

none

Unpacked Size

3.75 MB

Total Files

5

Last publish

Collaborators

  • yingli42o
  • halfbakedsneed
  • fejesus
  • clementbalestrat
  • jedwatson