Skip to Content
API referenceSatellite SolanaSrcComponentssatelliteSolanaAdapter()

@tuwaio/satellite-connect-monorepo


satelliteSolanaAdapter()

satelliteSolanaAdapter(rpcUrls): SatelliteAdapter<UiWallet, SolanaConnection>

Defined in: packages/satellite-solana/src/adapters/solanaAdapter.ts:41 

Creates a Solana blockchain adapter for the Satellite Connect system

Parameters

rpcUrls

SolanaRPCUrls

Configuration object containing RPC endpoints for different Solana networks

Returns

SatelliteAdapter<UiWallet, SolanaConnection>

SatelliteAdapter implementation for Solana

Remarks

This adapter implements the SatelliteAdapter interface for Solana blockchain, providing connector connection, network switching, and name resolution capabilities. It uses the Wallet Standard for consistent interactions.

Example

const solanaAdapter = satelliteSolanaAdapter({ rpcUrls: { mainnet: 'https://api.mainnet-beta.solana.com', devnet: 'https://api.devnet.solana.com', testnet: 'https://api.testnet.solana.com' } });
Last updated on