sphere-sdk

The SDK for autonomous economic agents. Give an agent an identity, a wallet, and the ability to find, negotiate with, and settle with other agents - peer-to-pee

What is sphere-sdk?

The SDK for autonomous economic agents. Give an agent an identity, a wallet, and the ability to find, negotiate with, and settle with other agents - peer-to-peer, with perfect privacy and ultra-fast finality

Overview of sphere-sdk

What it is

Sphere SDK is a modular TypeScript SDK for Unicity wallet operations on the Unicity state transition network. It provides the building blocks for autonomous economic agents: identity, wallet, and the ability to find, negotiate with, and settle with other agents peer-to-peer with privacy and fast finality.

Key features

  • Wallet management with BIP39/BIP32 key derivation and optional seed encryption
  • Engine-certified token transfers over the wallet-api vertical with durable server-side intents and mailbox delivery
  • Payment requests over the wallet-api rail with encrypted memos and durable settling
  • Signed intent bulletin board with semantic search and live feed
  • Group chat using NIP-29 relay-based messaging with moderation
  • Messaging via NIP-17 DMs and NIP-29 group chat (messaging only, not the payment rail)
  • Multi-address HD derivation (BIP32/BIP44)- dApp ↔ wallet communication via ConnectClient/ConnectHost

Use cases

  • Building autonomous agents that can transact economically peer-to-peer
  • Creating dApps that require wallet integration, payment requests, or token transfers
  • Implementing group chat or direct messaging with Nostr-based messaging
  • Developing CLI or batch applications that need to send and receive payments

Getting started

Install the SDK:bashnpm install @unicitylabs/sphere-sdk # browsernpm install @unicitylabs/sphere-sdk ws # Node.js: ws is requiredSee the repository README for platform-specific quick start guides and a full code example.

License and pricing

License: MITPricing: open source

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/unicity-spheresphere-sdk.svg)](https://yunodb.com/tools/unicity-spheresphere-sdk?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/unicity-spheresphere-sdk?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/unicity-spheresphere-sdk.svg" alt="Featured on YunoDB" height="20"></a>