@infinex/solana-client
v0.0.64-alpha
Published
Client to interact with the Infinex Solana Programs.
Downloads
1,615
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.
});