@infinex/solana-client
v0.0.71
Published
Client to interact with the Infinex Solana Programs.
Downloads
4,758
Keywords
Readme
@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.
});