Skip to content

feat: WalletConnect v2 connect button template #15

@satyakwok

Description

@satyakwok

Add a minimal WalletConnect v2 wallet-connect button template so dApp builders see how to wire it up cleanly on Sentrix.

Why

WalletConnect is the de facto wallet-abstraction layer; most users-of-Sentrix dApps will come in via WalletConnect-compatible wallets (Solux, MetaMask via WC, Rainbow, etc.). The starter should show the canonical way.

Scope

  • React + viem + @walletconnect/web3wallet minimal setup
  • ConnectButton component
  • Sign + send example tx via the connected wallet
  • Network-switch handler (auto-prompt to add Sentrix Mainnet / Testnet)

Cross-reference

Acceptance

  • One ConnectButton renders + connects on examples/walletconnect/
  • One send-tx works through the connected wallet

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions