Beta: this page describes the IDN Wallet 0.1.0 beta (TestFlight). Behaviour may change before the App Store release.

WalletConnect developer notes

For the IDN Wallet 0.1.0 beta (TestFlight) · Updated 30 November 2026

IDN Wallet is a WalletConnect Sign v2 wallet built on a pinned reown-swift 2.4.0 (Sign modules only). Its support is deliberately narrow: IDN Network only, three methods, strict formats. Requests that break the format rules are refused without being shown to the user; a few checks (for example token in the asset list, non-zero amount, verified backup) run only after the user taps continue, and fail with 4001.

Summary

ProtocolWalletConnect Sign v2 (pairing links must be wc:…@2?…)
Chaineip155:215 only (IDN Network, hex 0xd7)
AccountExactly one per session: the user's currently selected account, as eip155:215:<address> with the address in lowercase hex
Methodseth_sendTransaction, personal_sign, eth_signTypedData_v4
EventsaccountsChanged and chainChanged can be part of an approved session, but the wallet never emits them
Not supportedeth_sign, eth_signTypedData (v1/v3), eth_signTransaction, eth_sendRawTransaction, eth_accounts, eth_requestAccounts, eth_chainId, wallet_switchEthereumChain, wallet_addEthereumChain and read-only RPC calls; one-click auth (wc_sessionAuthenticate); Link Mode; Universal Links
Wallet metadataname IDN Wallet; description IDN mainnet self-custody wallet; url https://wallet.idnchain.com; empty icons; native redirect idnwallet://wc (do not rely on it to return to the wallet; see below)

Pairing

Pairing link rules:

Session proposals

Example (required namespaces):

{
  "eip155": {
    "chains": ["eip155:215"],
    "methods": ["eth_sendTransaction", "personal_sign"],
    "events": []
  }
}

eth_sendTransaction

[{
  "from": "<session account>",
  "to": "<recipient>",
  "value": "0xde0b6b3a7640000",
  "chainId": "0xd7"
}]

personal_sign (SIWE only)

example.com wants you to sign in with your Ethereum account:
0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed

Sign in to Example.

URI: https://example.com
Version: 1
Chain ID: 215
Nonce: 8f3k2LmQ
Issued At: 2026-11-05T10:00:00Z
Expiration Time: 2026-11-05T10:10:00Z

eth_signTypedData_v4 (ERC-2612 Permit only)

Origin verification (Verify)

Verify resultProposals, eth_sendTransactionpersonal_sign, eth_signTypedData_v4
Valid, and the origin equals the https origin of your metadata urlAllowedAllowed
Unknown (no result)Allowed, with a prominent "source not yet verified" (来源尚未验证) warning to the userRefused (4100) without a prompt
Invalid, scam, or an origin different from your metadata urlRefusedRefused

The wallet applies this table to every request, but the Verify result it sees is the one the SDK recorded when the session was connected; this SDK version does not verify each request again. A session that connected from an unverified origin therefore cannot use SIWE or Permit for its whole lifetime, and a later change in Verify does not affect an existing session. When verification passes, the wallet shows "source verified" (来源验证已通过) and reminds the user that a verified source does not make the request content safe.

Error codes and deliberate silence

CodeMessageWhen
4100Request not authorized or unsupportedThe request reached the wallet and failed its checks: wrong account, malformed or oversized params, a malformed request ID, origin not acceptable, SIWE nonce already used, rate limit, session already revoked in the wallet, or the wallet busy with a proposal or another confirmation
4001User rejected or authorization expiredThe user cancelled; the user tapped continue after the local approval window ran out (the wallet sends nothing on its own when the window ends); or it failed after approval (insufficient balance, zero amount, an earlier transaction from this account still unresolved, token not in the asset list, backup not verified, the token's on-chain DOMAIN_SEPARATOR() or nonces(owner) not matching the Permit, authentication (Face ID, Touch ID or passcode) cancelled, node error) when no transaction can have been sent and no signature handed over
4001Wallet authorization revokedThe wallet locked or went to the background while the request was on screen. Sent after the user unlocks and the relay reconnects
5000User rejected (SDK)Every rejected proposal
6000The SDK's disconnect messageThe wallet ended the session (user action or account switch)
14001Auth request rejected by the user (SDK)A one-click auth request arrived

Some requests never reach the wallet and the SDK answers them: a method or chain not approved in the session gets 3001 (3005 for a non-eip155 chain), and an already expired request gets 8000.

If your expiryTimestamp passes before the wallet answers (while the request is waiting behind another one or on screen, or while the wallet is locked or in the background), the SDK drops the request: you get no answer from the wallet (not even Wallet authorization revoked), or only the SDK's 8000. For eth_sendTransaction, if the wallet had already started sending the transaction to a node, you still get only 8000 or nothing; neither means the transaction was not sent, so check the chain. After you disconnect the session, the wallet's answer cannot be sent either.

Do not reuse request IDs: if the ID matches a request still pending in the SDK (in any session), the SDK drops the new one without answering; if it matches one already answered, the wallet may re-send the earlier error, stay silent, or answer 4100.

Sometimes the wallet stays silent on purpose. If a transfer confirmation was already running (the transaction may have been broadcast), or a signature was already handed to the transport without confirmed delivery, the wallet will not send a later "rejected" that could contradict what happened. No answer does not mean "not sent". Check the chain.

When the SDK re-delivers a request the wallet already answered with an error, the wallet re-sends the same error without evaluating it again.

Sessions and limits

What has been tested

On 5 and 7 November 2026 the development team checked, on one iPhone (iOS 26.6.1) with development builds, against an internal test app running in the iOS simulator with the same SDK: QR pairing; approving a session with only eip155:215 and one account; cancelling a 0 IDN transfer request (4001); automatic refusal of SIWE from an unverified origin (4100); locking the phone while a request was showing, answered with 4001 Wallet authorization revoked after unlock; and a DApp-side disconnect. These checks have not yet been repeated on the TestFlight beta.

Not yet tested on a device: SIWE and Permit signing from a verified origin; on-chain transactions over WalletConnect; recovering after network loss; what happens to an existing session after an App restart; pairing from a pasted link or a deep link; real web DApps (AppKit, wagmi and others).

Most rules in the wallet's domain policy (pairing links, namespaces, parameter formats, SIWE, Permit, Verify decisions) are covered by automated tests on a Mac, though not every limit has its own test. The App-level behaviour (error codes and messages, deliberate silence, re-sent errors, the SDK's 5000/14001/6000 answers, deep links, the two confirmations) has no automated tests; only part of it was checked in the device run above.

Using the WalletConnect protocol does not imply any partnership with, or certification by, WalletConnect or Reown.