New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@infinex/solana-client

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@infinex/solana-client

Client to interact with the Infinex Solana Programs.

0.0.26
Version published
Weekly downloads
463
42.02%
Maintainers
5
Weekly downloads
 
Created

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

FAQs

Package last updated on 01 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts