NEXO
Launch App
Back to Docs
Wallet Management5 min read

Connecting Wallets

How to connect Solana wallets to NEXO

Supported Wallets

NEXO supports all major Solana wallets:

  • Phantom
  • Solflare
  • Ledger
  • Coinbase Wallet
  • Torus
  • And more via Wallet Adapter

Browser Integration

typescript
import { useWallet } from '@solana/wallet-adapter-react';
import { NexoClient } from '@nexo/sdk';

function App() {
  const wallet = useWallet();
  
  const client = new NexoClient({
    apiKey: 'YOUR_API_KEY',
    wallet: wallet
  });
  
  // Client is ready to use
}

Node.js / Backend

typescript
import { Keypair } from '@solana/web3.js';
import { NexoClient } from '@nexo/sdk';

const keypair = Keypair.fromSecretKey(yourSecretKey);

const client = new NexoClient({
  apiKey: 'YOUR_API_KEY',
  keypair: keypair
});

Wallet Permissions

NEXO only requests the minimum permissions needed:

  • Connect - Read your public address
  • Sign Transaction - Sign transactions you approve
  • Sign Message - Verify wallet ownership (optional)