How to use
Installation
yarn add @xchainjs/xchain-solananpm install @xchainjs/xchain-solana
Initialization
import { Client } from '@xchainjs/xchain-solana'
const client = new Client()
// Make read operations with your clientimport { Client, defaultSolanaParams } from '@xchainjs/xchain-solana'
const client = new Client({
phrase: 'your secret phrase',
...defaultSolanaParams
})
// Make read or write operations with your clientLast updated