# 简要说明

A standard to create WalletConnect URIs to initiate connections between applications and wallets.

# 摘要

This standard defines how the data to connect some application and a wallet can be encoded with a URI. This URI can then be shown either as a QR code or for mobile to mobile as a link.

# 规范

# Syntax

WalletConnect request URI with the following parameters:

request       = "wc" ":" topic [ "@" version ][ "?" parameters ]
topic         = STRING
version       = 1*DIGIT
parameters    = parameter *( "&" parameter )
parameter     = key "=" value
key           = "bridge" / "key"
value         = STRING

# Semantics

Required parameters are dependent on the Walletconnect protocol version which currently includes the key, hex string of symmetric key, and bridge, encoded url of the bridge used for establishing the connection.

# 示例

wc:8a5e5bdc-a0e4-4702-ba63-8f1a5655744f@1?bridge=https%3A%2F%2Fbridge.walletconnect.org&key=41791102999c339c844880b23950704cc43aa840f3739e365323cda4dfa89e7a
1

# 原理阐述

The need for this ERC stems from the discussion to move away from JSON format used in the alpha version of the WalletConnect protocol which makes for very inneficient parsing of the intent of the QR code, making it easier to create better QR code parsers APIs for Wallets to implement. Also by using a URI instead of a JSON inside the QR-Code the Android Intent system can be leveraged.

# 参考引用

  1. WalletConnect Technical Specification, https://docs.walletconnect.org/tech-spec

# 版权

Copyright and related rights waived via CC0.