WalletConnectTransportConfig
Defined in: node_modules/@sigilry/dapp/dist/src/transport/walletconnect.d.ts:3
Properties
Section titled “Properties”chainId?
Section titled “chainId?”
optionalchainId:string
Defined in: node_modules/@sigilry/dapp/dist/src/transport/walletconnect.d.ts:7
CAIP-2 chain, e.g. canton:mainnet. Default canton:devnet.
ledgerApiAllowedOrigins?
Section titled “ledgerApiAllowedOrigins?”
optionalledgerApiAllowedOrigins:string[]
Defined in: node_modules/@sigilry/dapp/dist/src/transport/walletconnect.d.ts:18
Allowlist of origins the wallet-advertised network.ledgerApi may use for
DIRECT, bearer-authed reads (e.g. ["https://gateway.example.com"]). The
ledgerApi URL comes from the wallet’s canton_status; without an allowlist a
malicious/compromised wallet could point the dApp’s authed fetch at an
arbitrary origin and exfiltrate the session token (confused-deputy). When
set, the ledgerApi origin MUST match one of these or the read is refused.
Strongly recommended in production. When unset, only the scheme is enforced
(https, or http for localhost).
ledgerApiTimeoutMs?
Section titled “ledgerApiTimeoutMs?”
optionalledgerApiTimeoutMs:number
Defined in: node_modules/@sigilry/dapp/dist/src/transport/walletconnect.d.ts:20
Per-request timeout (ms) for direct ledger-api reads. Default 30000.
metadata
Section titled “metadata”metadata:
object
Defined in: node_modules/@sigilry/dapp/dist/src/transport/walletconnect.d.ts:27
dApp metadata shown to the user in their wallet at the connection prompt (name, description, url, icon). REQUIRED: the wallet renders this as the dApp’s identity, so it must always be the real dApp — never a generic placeholder the user wouldn’t recognize (a trust/anti-phishing concern).
description
Section titled “description”description:
string
icons:
string[]
name:
string
url:
string
onEvent()?
Section titled “onEvent()?”
optionalonEvent: (event,data) =>void
Defined in: node_modules/@sigilry/dapp/dist/src/transport/walletconnect.d.ts:40
Forward wallet-originated events (accountsChanged, statusChanged) and
session lifecycle (session_delete) to the provider’s emitter. The
@sigilry/react connect path wires this into the provider’s emit.
Parameters
Section titled “Parameters”string
unknown
Returns
Section titled “Returns”void
onUri()?
Section titled “onUri()?”
optionalonUri: (uri) =>void
Defined in: node_modules/@sigilry/dapp/dist/src/transport/walletconnect.d.ts:34
Called with the pairing URI so the dApp can render a QR / deep-link.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void
projectId
Section titled “projectId”projectId:
string
Defined in: node_modules/@sigilry/dapp/dist/src/transport/walletconnect.d.ts:5
Reown/WalletConnect Cloud project id.