Wallets
Phantom, Backpack, Solflare, and every other network's wallets through one interface, with @sodax/wallet-sdk-react or a direct provider.
React apps: @sodax/wallet-sdk-react
pnpm add @sodax/wallet-sdk-reactimport { SodaxWalletProvider, type SodaxWalletConfig } from '@sodax/wallet-sdk-react';
import { ChainKeys } from '@sodax/types';
const config: SodaxWalletConfig = {
SOLANA: {
chains: {
[ChainKeys.SOLANA_MAINNET]: { rpcUrl: 'https://api.mainnet-beta.solana.com' },
},
},
EVM: {
chains: {
[ChainKeys.SONIC_MAINNET]: { rpcUrl: 'https://rpc.soniclabs.com' },
},
},
};Bridging to SDK calls
Scripts and backends: SolanaWalletProvider
Last updated