Skip to main content

Features

  • Cross-chain bridges and swaps
  • Multiple quote providers
  • Full TypeScript support
  • React hooks integration
  • Viem compatibility

Installation

pnpm add viem @metalayer/sdk
If you plan to use the SDK’s React hooks, you’ll need to install React Query as a peer dependency.

Installing React Query

pnpm add @tanstack/react-query

API Key Setup

Contact our team to get your API key.

Requirements

  • Node.js 20+
  • TypeScript 5.0+ (recommended)
  • React 16+ (for hooks)
  • Viem 2.0+ (peer dependency)

Next Steps

For complete implementation examples and detailed bridge flows, see Examples.