Skip to main content
Use the Node.js SDK to interact with Circle’s Developer-Controlled Wallet APIs, which allow you to embed secure wallets in your applications and create blockchain transactions using the Developer Services platform. This page provides short examples of how to install and use the developer-controlled wallets SDK. For complete examples, see the Sample Projects page. For more information see the developer-controlled wallets documentation.

Prerequisites

To use the Node.js SDK, ensure you have:

Install the SDK

Use the following commands to install the SDK. You can view the package information on the npm site.

Developer-controlled wallets client

To start using the SDK, you first need to configure a client. Import the initiateDeveloperControlledWalletsClient factory from the SDK, and then initialize the client using your API key and entity secret.

Import the client

The following example shows how to import the client and configure it to use your API key and entity secret:

Create a wallet

The following example shows how to create a wallet using the client:
TypeScript

Create a transaction

The following example shows how to create a transaction using the client:
TypeScript

Client configuration options

The client for the developer-controlled wallets SDK accepts the following configuration parameters: