midnight-dapp:wallet-integration

Community

Connect Lace wallet and manage accounts.

Authoraaronbassett
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Developers need a reliable way to connect the Lace wallet to Midnight DApps, manage multiple user accounts, switch between testnet and mainnet, troubleshoot wallet integration issues, and migrate patterns from MetaMask/Web3.

Core Features & Use Cases

  • Wallet connection: Establish user authentication by enabling the Lace wallet and retrieving the wallet state (address, coinPublicKey, encryptionPublicKey) via the enable() and state() APIs.
  • Network awareness: Read service URIs to determine current network (testnet vs mainnet) and adapt UI and flows.
  • Account management: Detect account changes (and future multi-account support) to reflect the active address.
  • Migration guidance: Provide a clear path for migrating from MetaMask/Web3 patterns to Lace connectors.

Quick Start

Connect Lace to your DApp by calling enable() on the Lace wallet API and then reading state() to access the wallet address and keys.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: midnight-dapp:wallet-integration
Download link: https://github.com/aaronbassett/midnight-knowledgebase/archive/main.zip#midnight-dapp-wallet-integration

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.