Sandbox

Cross-Chain & DeFi Integration

Bridge adapters and DeFi protocol connectors: DEX aggregation, lending and staking adapters for third-party protocols (e.g. Wormhole, LayerZero, Axelar). Integration adapters for third-party APIs; no partnership or endorsement implied.

Bridge Protocols

Transfer assets between chains using adapters with ABI encoding and RPC integration for Wormhole, Circle CCTP, LayerZero, and Axelar, with automatic fee comparison.

Wormhole

Adapter with EthRpcClient integration and ABI-encoded contract calls. Generic message-passing protocol supporting 30+ chains with guardian-validated security.

  • 30+ supported chains
  • Guardian network validation
  • Token and NFT bridging

LayerZero

Ultra-light node protocol for omnichain interoperability. Low-cost messaging with configurable security via oracles and relayers.

  • Omnichain messaging
  • Configurable security model
  • Low-latency transfers

Axelar

Universal overlay network connecting all blockchains. Proof-of-stake security with General Message Passing for complex cross-chain logic.

  • PoS-validated security
  • General Message Passing
  • EVM, Solana, and Cosmos support

DeFi Protocol Connectors

Connect to third-party DeFi protocols through a unified API. Swap, lend and stake via protocol adapters without managing multiple integrations.

Uniswap V3

DEX

Adapter with ABI-encoded swaps and RPC price quoting. Concentrated liquidity DEX with optimal price execution and multi-hop routing with slippage protection.

Aave V3

Lending

Adapter with ABI-encoded supply, borrow, and repay operations via EthRpcClient, with flash loan support.

Curve Finance

Stableswap

Optimized AMM adapter for stablecoin and pegged-asset swaps.

Lido

Liquid Staking

Liquid-staking adapter for the Lido protocol (stETH).

API Endpoints

A unified REST API for cross-chain bridging and DeFi operations. All endpoints require Bearer token authentication.

Cross-Chain Bridging

Discover chains, get quotes, and initiate bridge transfers across networks.

GET /api/v1/crosschain/chains
POST /api/v1/crosschain/bridge/quote
POST /api/v1/crosschain/bridge/initiate

DeFi Operations

Swap tokens and track portfolios.

POST /api/v1/defi/swap/quote
GET /api/v1/defi/portfolio

Example: Get Bridge Quote

// Request a bridge quote across providers
const response = await fetch('https://finaegis.org/api/v1/crosschain/bridge/quote', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    source_chain: 'ethereum',
    destination_chain: 'polygon',
    token: 'USDC',
    amount: '1000.00'
  })
});

const { quotes } = await response.json();
// quotes array sorted by best fee, includes Wormhole, LayerZero, Axelar options
console.log('Best route:', quotes[0].provider);
console.log('Fee:', quotes[0].fee);
console.log('ETA:', quotes[0].estimated_time);

Technical Features

Multi-Chain Portfolio

Unified view of assets across all supported blockchains. Real-time balance aggregation, historical performance tracking, and chain-specific analytics.

  • Aggregate balances from Ethereum, Polygon, Arbitrum, Solana, BSC, and more
  • Real-time USD valuation with price feeds
  • Chain distribution and exposure analysis

Cross-Chain Swaps

Swap tokens across different blockchains in a single transaction. Bridge and DEX operations are orchestrated automatically for the best execution price.

  • Atomic bridge-and-swap in one API call
  • Automatic slippage protection and MEV resistance
  • Multi-provider routing for optimal fees

Flash Loans

Execute uncollateralized loans within a single transaction. Ideal for arbitrage, collateral swaps, and liquidation strategies with zero upfront capital.

  • Aave V3 flash loan integration
  • Multi-asset flash loan batching
  • Built-in arbitrage opportunity detection

How It Works

A unified orchestration layer routes operations through the optimal bridge and DeFi protocols based on cost, speed, and security requirements.

                    +------------------+
                    |   FinAegis API   |
                    +--------+---------+
                             |
              +--------------+--------------+
              |                             |
    +---------v----------+       +----------v---------+
    | CrossChain Domain  |       |    DeFi Domain     |
    +----+------+--------+       +---+------+---------+
         |      |      |             |      |      |
    +----v+ +---v--+ +-v----+   +---v--+ +-v---+ +-v---+
    |Worm | |Layer | |Axe   |   |Uni   | |Aave | |Curve|
    |hole | |Zero  | |lar   |   |swap  | |V3   | |     |
    +-----+ +------+ +------+   +------+ +-----+ +-----+
         \      |      /             \      |      /
          \     |     /               \     |     /
    +------v----v----v----+     +------v----v----v----+
    |   Bridge Routing    |     |   Swap Aggregation  |
    |  (Fee Comparison)   |     |  (Best Execution)   |
    +---------------------+     +---------------------+

Go Multi-Chain Today

Bridge assets and connect to DeFi protocols across blockchains with a single API integration.