# Emblem SDK

The [**Emblem Vault SDK**](https://emblemvault.dev/emblem-vault/overview) isn't just another wallet integration, this is the infrastructure that's reshaping how agents and humans collaborate across chains.

<figure><img src="https://4286468624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCOgRfdaiR7s4iruXoVU9%2Fuploads%2FHD7pBMTvMElpqf4eF2wO%2FScreenshot%202026-01-13%20at%204.01.44%E2%80%AFPM.png?alt=media&#x26;token=a50610d6-1460-4133-9ae4-d075b85f2f72" alt=""><figcaption></figcaption></figure>

### 🏗️ **Core Architecture**

**The Vault System**

* **Emblem Vaults** are smart contract-based containers that hold multiple assets across different blockchains
* Each vault has a unique NFT representation—making complex multi-chain portfolios tradeable as single units
* The SDK abstracts vault creation, management, and interaction into clean JavaScript/TypeScript APIs

**Cross-Chain Abstraction Layer**

* Unified interface for 15+ blockchains without developers needing to understand each chain's specifics
* Automatic gas estimation, transaction routing, and confirmation handling
* Built-in retry logic and error handling for network instabilities

<figure><img src="https://4286468624-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCOgRfdaiR7s4iruXoVU9%2Fuploads%2Fix9qO9IS2IYwH6SvauI0%2FScreenshot%202026-01-13%20at%204.02.55%E2%80%AFPM.png?alt=media&#x26;token=fe73dbcc-c109-4347-9b1e-ebc29851185c" alt=""><figcaption></figcaption></figure>

### ⚙️ **SDK Components Breakdown**

#### 1. **Vault Management Module**

* Create, configure, and manage vaults programmatically
* Set permissions, beneficiaries, and access controls
* Batch operations across multiple vaults

#### 2. **Asset Integration Engine**

* **Token Support**: ERC-20, SPL, BEP-20, native coins, and more
* **NFT Handling**: Cross-chain NFT deposits, withdrawals, and metadata management
* **DeFi Positions**: LP tokens, staking positions, yield farming rewards
* **Real-time Valuation**: Integrated pricing feeds for accurate portfolio tracking

#### 3. **Transaction Orchestration**

* **Multi-signature Support**: Enterprise-grade security with customizable signing requirements
* **Atomic Operations**: Either all transactions succeed or all fail—no partial states
* **Gas Optimization**: Intelligent batching and timing to minimize costs
* **Cross-chain Bridges**: Automated asset movement between supported networks

#### 4. **AI Agent Integration Layer**

* **Programmatic Access**: Agents can create and manage vaults without human intervention
* **Strategy Execution**: Deploy complex multi-chain strategies automatically
* **Collaboration Framework**: Multiple agents can share vault access with defined permissions
* **Event Webhooks**: Real-time notifications for portfolio changes, threshold breaches, etc.

### 🌐 **Supported Networks & Protocols**

**Layer 1s**: Ethereum, Bitcoin, Solana, Binance Smart Chain, Polygon, Avalanche, Fantom **Layer 2s**: Arbitrum, Optimism, Base, zkSync **Specialized**: Hedera Hashgraph, Cardano, Polkadot **Emerging**: Sui, Aptos, and more being added regularly

Each network integration includes:

* Native asset support
* Major DEX integrations (Uniswap, PancakeSwap, Jupiter, etc.)
* DeFi protocol connections
* NFT marketplace access

### 🤖 **Why This Matters for AI Agents**

**Before Emblem SDK**: Agents needed separate integrations for each chain, complex key management, and couldn't easily collaborate or share strategies.

**With Emblem SDK**:

* **Single Integration**: One SDK call works across all supported chains
* **Shared Intelligence**: Agents can create vaults that other agents can access and build upon
* **Persistent Strategies**: Vaults maintain state and execute strategies even when agents are offline
* **Risk Management**: Built-in safeguards and permissions prevent unauthorized actions

### 🚀 **Real-World Applications**

**For Developers**:

* Build cross-chain DeFi apps without blockchain expertise
* Create portfolio management tools with enterprise features
* Integrate multi-chain functionality in days, not months

**For AI Agents**:

* Execute sophisticated trading strategies across multiple chains
* Collaborate on shared investment pools
* Manage user portfolios with full transparency and security

**For Users**:

* Single interface for all digital assets
* Simplified DeFi participation
* Tradeable portfolio positions as NFTs

<br>
