@sodax/wallet-sdk-react

A comprehensive React Wallet SDK tailored for the Sodax ecosystem that provides unified wallet connectivity across multiple blockchain networks.

Features

  • Seamless wallet connectivity for all supported wallets in the Sodax network

    • EVM Wallets: All browser extensions that support EIP-6963arrow-up-right (Hana Wallet, MetaMask, Phantom, etc.) βœ…

    • Sui Wallets: All browser extension that @mysten/dapp-kit supports (Hana, Sui Wallet, Suiet, etc.) βœ…

    • Solana Wallets: βœ…

    • Stellar Wallets: βœ…

    • Injective Wallets: βœ…

    • ICON Wallets: βœ… (Hana Wallet and other ICON-compatible extensions)

  • Address and connection state management

    • EVM (Arbitrum, Avalanche, Base, BSC, Optimism, Polygon, Sonic, HyperEVM, LightLink) βœ…

    • Sui βœ…

    • Solana βœ…

    • Stellar βœ…

    • Injective βœ…

    • ICON βœ…

Installation

Peer Dependencies

This package requires the following peer dependencies:

Quick Start

This example demonstrates:

  1. Setting up the required providers (QueryClientProvider and SodaxWalletProvider)

  2. Using useXConnectors to get available wallet connectors

  3. Using useXConnect to handle wallet connections

  4. Using useXAccount to display the connected wallet address

  5. A basic UI to display and connect to available wallets

Requirements

  • Node.js >= 18.0.0

  • React >= 19

  • TypeScript

API Reference

Components

Hooks

Core Wallet Hooks

Chain-Specific Hooks

Balance Hooks

Service Hooks

Types

Core Types

Classes

XConnector

Contributing

We welcome contributions! Please see our Contributing Guidearrow-up-right for details.

Development

License

MITarrow-up-right

Support

Last updated