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

0.0.36 • 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.
});

Dependents (0)

Package Sidebar

Install

npm i @infinex/solana-client

Weekly Downloads

1,162

Version

0.0.36

License

none

Unpacked Size

3.81 MB

Total Files

5

Last publish

Collaborators

  • yingli42o
  • halfbakedsneed
  • fejesus
  • clementbalestrat
  • jedwatson