0.1.1 • Published 10 months ago

@circle-libs/sdk-setup v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Circle Console Setup

DEPRECATED - Please use this package instead @chainsafe/circle-sdk-setup

CLI tool for setting up Circle Console configuration. This tool helps you generate and configure the necessary secrets and environment variables to work with Circle Developer-Controlled Wallets.

Usage

You'll need a Circle API key from the Circle Console. Read how to setup your Circle Developer Account here. Then run the setup command with your Circle API key:

npx @chainsafe/circle-sdk-setup --api-key YOUR_API_KEY

Options:

  • -k, --api-key <key> (required): Your Circle API key

The tool will:

  1. Generate a secret for the SDK
  2. Fetch your app configuration from Circle
  3. Save the configuration to .env file
  4. Generate a recovery file (recovery_file_YYYY-MM-DD.dat)

⚠️ Important: After setup, store the recovery_file_YYYY-MM-DD.dat file in a secure location and remove it from your project directory.