Skip to main content
Use the Python 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

Although not a requirement for using the SDK, Circle recommends that you use a virtual environment for development. A Python virtual environment is an isolated environment that you can use to silo your project from the global Python environment.

Install the SDK

Use the following command to install the SDK with pip:
Shell

Developer-controlled wallets client

To start using the SDK, you first need to configure a client and initialize it with 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:
Python

Create a wallet

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

Client configuration options

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