skills/skills.volces.com/circle-chain-js-sdk

circle-chain-js-sdk

Installation
SKILL.md

Circle Chain JavaScript SDK

Package and layout

  • npm: @lidh04/circle-chain-sdk — local dependency: npm i @lidh04/circle-chain-sdk
  • Default export: an object with namespaces user, wallet, block, node, miner, common — e.g. import sdk from '@lidh04/circle-chain-sdk' then const { user, wallet, miner } = sdk. README snippets use bare names like login, createWallet; bind them from the matching namespace (user.login, wallet.createWallet, etc.).
  • Source repo: src/ — circle-user.js, circle-wallet.js, circle-block.js, circle-node.js, circle-miner.js, circle-common.js; CLI under src/cli/.

Development workflow

  1. Build: npm run build — outputs dist/cjs and dist/mjs (TypeScript + fixup).
  2. Tests: Run npm run build before npm test when suites need fresh dist/. CLI-only: npm run test:cli (builds, then Jest matches dist/cjs/cli).
  3. CLI from a clone: after build, npm run cli -- <args> or node ./dist/mjs/cli/main.js <args>.

CLI (Commander.js)

Published executable name: circle (see package.json "bin" → dist/mjs/cli/main.js).

Install globally

Installs
2
First Seen
Apr 23, 2026
circle-chain-js-sdk from skills.volces.com