mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
This commit integrates the Noble testnet (grand-1) with Sonr's x/dex module, enabling native USDC trading and liquidity operations across IBC-enabled chains. Changes: - Add default params configuration with Noble testnet in allowed connections - Create Noble-specific helper types and functions for USDC operations - Implement USDC conversion utilities (base units <-> USDC decimals) - Add NobleSwapParams and NobleLiquidityParams for structured operations - Update genesis state to use default params with validation - Add comprehensive Noble integration documentation - Create unit tests for params and Noble helpers Noble Configuration: - Chain ID: noble-grand-1 (testnet) - USDC Denom: uusdc (6 decimals) - RPC: https://noble-testnet-rpc.polkachu.com:443 - gRPC: noble-testnet-grpc.polkachu.com:21590 Module Parameters: - Max accounts per DID: 5 - Default ICA timeout: 600 seconds - Min swap amount: 1000 base units - Max daily volume: 1T base units - Rate limits: 10 ops/block, 100 ops/DID/day - Fees: 0.3% swap, 0.2% liquidity, 0.1% orders This integration enables Sonr users to: - Register ICA accounts on Noble testnet - Execute cross-chain swaps with USDC - Provide/remove liquidity in USDC pairs - Trade with slippage protection - Route multi-hop swaps through USDC 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>