Overview

The Dynamic Node SDK provides server-side Web3 functionality with Multi-Party Computation (MPC) wallets. Create non-custodial wallets, sign transactions, and manage blockchain operations server-side.

Key Features

  • Server Wallets: Create non-custodial wallets controlled server-side
  • Multi-Chain Support: Full support for Ethereum (EVM) and Solana (SVM)
  • MPC Security: Advanced threshold signature schemes
  • TypeScript Support: Full type safety and modern async/await patterns

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

Install 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

Example Usage

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

Available Threshold Signature Schemes

  • TWO_OF_TWO: Requires both server and Dynamic’s infrastructure to sign
  • TWO_OF_THREE: Requires 2 out of 3 shares to sign
  • THREE_OF_FIVE: Requires 3 out of 5 shares to sign

Next Steps

Ethereum (EVM) Support

Solana (SVM) Support

API Reference