awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
unicity-sphere avatar

unicity-sphere/sphere-sdk-connect-example

0
View on GitHub↗

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Sphere Sdk Connect Example

This repository is a set of reference examples showing how to connect applications to a user's crypto wallet with the Sphere SDK. Browser and terminal apps talk to the wallet through iframe, popup, extension, or WebSocket sessions, so the app never handles private keys. The examples cover a browser app, a Node command-line client, a wallet-signature login backend, an autonomous bot with its own wallet, and a mock wallet host.

Reading wallet data such as identity, balances, tokens, and history runs as scoped, read-only queries after the user grants permissions. State-changing actions, including token transfers, payment requests, NFT minting, direct messages, and message signing, are submitted as intents that the wallet owner approves one by one. Interrupted sends can be replayed under the same intent identifier, so a transfer settles once instead of paying twice. The wallet also pushes events such as lock, unlock, identity changes, and incoming transfers, so interfaces update without polling.

Several examples cover the surrounding integration work. Wallet signature authentication has the wallet sign a server-issued challenge, then a backend recovers the public key and issues a session token. Handshake checks refuse outdated SDK versions or mismatched networks, and the examples turn those refusals into readable messages. A React hook manages connection state, sessions resume after a reload, and a locked wallet pauses the session instead of ending it. The mock wallet server and a public-tunnel workflow let developers test the full connection flow without real funds.

Features

  • Wallet Connection Interfaces - Establishes an authenticated session between an app and a wallet via iframe or popup, declaring the network and app identity without exposing private keys.
  • Approved Token Transfers - Submits transfers, payment requests, and NFT mints as intents the wallet owner approves one by one, with safe replay so a send settles once.
  • Autonomous Wallet Bots - Boots a standalone bot with its own keys and funds that mints tokens and replies to direct messages with no human approval prompts.
  • Self-Custodied Wallet Bots - Boots a standalone bot with its own keys and identity using the SDK directly, with no connection to any external wallet.
9,502 stars·33 forks·TypeScript·11 views
  • Wallet-Approved Token Transfers - Requests token transfers, NFT mints, and payment requests that the owner approves one by one, replaying interrupted sends so nothing is paid twice.
  • Wallet Action Intents - Submits token sends, minting, direct messages, payment requests, and signing as intents the user must explicitly confirm inside the wallet.
  • Wallet Signature Authentications - Has the user's wallet sign a message, recovers the public key on a backend, and issues a session token proving identity.
  • Wallet Transaction Routing - Routes transfer, mint, message, payment request, and signing requests to the user's wallet, which opens so the user approves each action.
  • Mock Wallet Hosts - Runs a local mock wallet server answering queries and requests with realistic responses, so the connection flow can be tested without a live wallet.
  • Double-Payment Safeguards - Treats delivery-pending sends as success and halts on possibly-committed outcomes instead of resending, which could pay twice.
  • Idempotent Transfer Replays - Replays an unfinished transfer under the same identifier and lists transfers still settling, avoiding a fresh spend of a different source token.
  • NFT Minting - Builds NFT content with linked media, digest, and metadata, then asks the wallet to sign and mint it under a dedicated permission scope.
  • Connection Handshake Protocols - Starts every session with a handshake declaring network, protocol version, and app identity so the wallet can refuse mismatches before approval.
  • Multi-Protocol Transport Abstraction - Puts one client protocol over interchangeable iframe, popup, extension, and WebSocket channels so identical application code runs in browsers and servers.
  • Scoped Permission Assignments - Maps each query and request to a permission scope granted at connect time and checks it on every call.
  • Server-Delegated Custody - Splits storage so keys and identity stay local while token inventory, history and mailbox live on a required remote wallet server.
  • View-Only Wallets - Reads wallet identity, balances, tokens, history, and nametag lookups through scoped read-only queries that need no per-call user approval.
  • Session Handshakes - Opens a wallet transport, waits for readiness, and requests user approval that grants the app a defined set of permissions.
  • Transport Selection Strategies - Picks the connection method by priority, trying an embedding iframe first, then a browser extension, and otherwise a popup window.
  • Compatibility Error Messages - Converts handshake refusals for old SDK versions or wrong networks, plus locked-wallet and rejected-request errors, into clear messages and recovery guidance.
  • Read-Only Wallet Queries - Reads identity, balances, fiat value, tokens, history, and nametag lookups through scoped read-only requests that need no user confirmation.
  • Double-Spend Safeguards - Treats delivery-pending sends as successes and halts on possibly-committed outcomes instead of resending, so the same payment is never spent twice.
  • Per-Action Transfer Approvals - Requires the wallet owner to approve every token send an external app requests, so funds never move without explicit consent.
  • Public Key Recovery - Derives the signer's public key from a message and signature on the server, proving identity by cryptography instead of client claims.
  • Signer Identity Recoverers - Rebuilds a challenge on the backend and recovers the signer's public key from the signature to prove identity cryptographically.
  • Mock Wallet Testing - Ships a mock wallet host and a public-tunnel workflow so developers can test the whole connection flow without real funds.
  • Wallet Event Subscriptions - Pushes wallet lock, unlock, identity change, incoming transfer, and inventory events over the open channel so interfaces update without polling.
  • Wallet Intent Approvals - Opens the wallet so the user approves each token send, mint, direct message, payment request, or message signature.
  • Idempotency Key Response Replays - Resubmits unfinished transfers under the same intent identifier so interrupted sends settle once instead of spending a second token.
  • Idempotent Transfer Replays - Replays an interrupted transfer under the same intent identifier and lists pending transfers, so a send settles once instead of paying twice.
  • User Action Intents - Separates silent read-only queries from state-changing intents such as transfers and minting that need explicit per-action wallet approval.
  • Star history

    Star history chart for unicity-sphere/sphere-sdk-connect-exampleStar history chart for unicity-sphere/sphere-sdk-connect-example

    How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

    Frequently asked questions

    What does unicity-sphere/sphere-sdk-connect-example do?

    This repository is a set of reference examples showing how to connect applications to a user's crypto wallet with the Sphere SDK. Browser and terminal apps talk to the wallet through iframe, popup, extension, or WebSocket sessions, so the app never handles private keys. The examples cover a browser app, a Node command-line client, a wallet-signature login backend, an autonomous bot with its own wallet, and a mock wallet host.

    What are the main features of unicity-sphere/sphere-sdk-connect-example?

    The main features of unicity-sphere/sphere-sdk-connect-example are: Wallet Connection Interfaces, Approved Token Transfers, Autonomous Wallet Bots, Self-Custodied Wallet Bots, Wallet-Approved Token Transfers, Wallet Action Intents, Wallet Signature Authentications, Wallet Transaction Routing.

    Which projects share features with unicity-sphere/sphere-sdk-connect-example?

    Projects with overlapping indexed features include: mystenlabs/sui — Sui is a blockchain platform featuring an object-centric state model and resource-oriented smart contracts. It… reown-com/appkit — AppKit is a multi-chain wallet connection kit and onboarding framework designed to integrate diverse blockchain… adrianhajdin/project_web3.0 — This project is a blockchain education platform that integrates a React frontend with Solidity smart contracts to… unicity-sphere/sphere — Sphere is a browser-based wallet for the Unicity network, built as a React single-page application. It manages… trustwallet/assets — This project provides a collection of infrastructure components for multichain wallet integration, including a… vechain/vechain-dapp-kit — The Vechain dApp Kit is a development framework designed to facilitate the creation of decentralized applications on…

    Projects sharing features with Sphere Sdk Connect Example

    These projects share indexed features with Sphere Sdk Connect Example. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
    • mystenlabs/suiMystenLabs avatar

      MystenLabs/sui

      7,782View on GitHub↗

      Sui is a blockchain platform featuring an object-centric state model and resource-oriented smart contracts. It utilizes parallel transaction execution to increase network throughput and supports programmable transaction blocks that bundle multiple operations into single atomic units. The platform distinguishes itself with a capability-based access control system and zero-knowledge login mechanisms, enabling users to authenticate via identity providers without seed phrases. It also implements deterministic object addressing to allow predictable state lookups and supports the creation of soulbo

      Rustblockchaindistributed-ledger-technologymove
      View on GitHub↗7,782
    • reown-com/appkitreown-com avatar

      reown-com/appkit

      5,417View on GitHub↗

      AppKit is a multi-chain wallet connection kit and onboarding framework designed to integrate diverse blockchain networks into a unified interface. It provides a comprehensive suite for connecting applications to EVM, Solana, Bitcoin, TON, and TRON ecosystems, facilitating both self-custodial wallet linking and the creation of new accounts. The project distinguishes itself through a Web3 onboarding system that utilizes social and email-based authentication to generate embedded wallets, reducing cryptographic friction for new users. It further supports advanced identity management via a blockch

      TypeScriptdappsethereumintegration
      View on GitHub↗5,417
    • adrianhajdin/project_web3.0adrianhajdin avatar

      adrianhajdin/project_web3.0

      4,255View on GitHub↗

      This project is a blockchain education platform that integrates a React frontend with Solidity smart contracts to create a decentralized application. It functions as a learning system that generates personalized educational roadmaps and tracks user progress using decentralized technology. The platform employs a hybrid identity integration system, verifying users through both traditional email providers and blockchain wallet connections. This allows for user identity management and account verification to control access to protected areas of the application. The codebase covers the deployment

      JavaScriptsmart-contractssolidityweb3
      View on GitHub↗4,255
    • unicity-sphere/sphereunicity-sphere avatar

      unicity-sphere/sphere

      9,630View on GitHub↗

      Sphere is a browser-based wallet for the Unicity network, built as a React single-page application. It manages seed-phrase identities, lets users switch between multiple wallets, share addresses by QR code, and claim a human-readable @username nametag. Tokens move between users as fast, low-cost state transitions, with balance tracking, incoming payment notifications, and live market prices shown beside holdings. Beyond the wallet itself, Sphere includes an in-wallet chat client offering private direct messages and public or private group channels over decentralized Nostr relays, with invite

      TypeScriptai-agentswallet
      View on GitHub↗9,630
    Compare all 30 related projects→