Skip to main content

Prerequisites

  • Node.js 16+ - The SDK requires Node.js 16.0 or later
  • Dynamic Account - Set up your project and get credentials from Dynamic Dashboard
The Node SDK runs on your server so you can create embedded wallets, sign transactions, and work with several chains without putting full keys on the client. Signing uses Multi-Party Computation (MPC): your server and Dynamic each hold part of the key material so neither side alone can sign.

Install & Initialize the SDK

Get Your Credentials

Navigate to the Dynamic Dashboard and:
  1. Copy your Environment ID
  2. Create a new API token
Environment ID and API Token

Enable Features in Dashboard

Before you can use wallet features, you need to enable them in your Dynamic dashboard:
  1. Go to your Dynamic Dashboard
  2. Select your project
  3. Go to Wallets and enable embedded wallets
  4. Go to Chains and enable the networks you want to support (Ethereum, Solana, etc.)

Environment Variables

Set up your environment variables:
# .env
DYNAMIC_AUTH_TOKEN=your_auth_token_here
DYNAMIC_ENVIRONMENT_ID=your_environment_id_here

SDK capabilities

  • Embedded wallets — Create and use wallets from your server.
  • Chains — Ethereum (EVM), Solana (SVM), TON, and Bitcoin.
  • TypeScript — Typed API with async/await.

Threshold signature schemes

When you configure signing, you choose how key shares combine to authorize a signature:
  • TWO_OF_TWO — Requires your server and Dynamic’s infrastructure to sign together.
  • TWO_OF_THREE — Requires two of three shares to sign.

Next Steps

Ethereum (EVM) Support

Solana (SVM) Support

TON Support

Bitcoin (BTC) Support

API Reference