# 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="/files/lXd93Tvxigur5HV7OvsN" 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="/files/ewE99ZGy6xcFC1QqZYee" 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.emblem.wiki/emblem-developer-platform/emblem-sdk.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
