{"eip":1710,"title":"URL Format for Web3 Browsers","description":"A standard way of representing web3 browser URLs for decentralized applications.","authors":["Bruno Barbieri (@brunobar79)"],"status":"Stagnant","type":"Standards Track","category":"ERC","created":"2019-01-13","requires":[155],"discussionsTo":"https://ethereum-magicians.org/t/standarize-url-format-for-web3-browsers/2422","repo":"ERCs","label":"ERC-1710","officialUrl":"https://eips.ethereum.org/EIPS/eip-1710","sourceUrl":"https://github.com/ethereum/ERCs/blob/master/ERCS/erc-1710.md","url":"https://eips.huatuo.xyz/eip-1710/","tldr":{"en":"Proposes a dapp: URL scheme, with an optional chain ID, so links to decentralized apps open in whatever web3 browser the user has instead of a specific vendor's app.","ja":"任意のチェーン ID を付けられる dapp: URL スキームの提案。分散型アプリへのリンクを、特定ベンダーのアプリではなく、ユーザーが持っているどの web3 ブラウザでも開けるようにする。","ko":"선택적 체인 ID를 붙일 수 있는 dapp: URL 스킴을 제안한다. 탈중앙화 앱 링크가 특정 업체의 앱이 아니라 사용자가 가진 아무 web3 브라우저에서나 열리게 한다.","zh":"提议一种带可选链 ID 的 dapp: URL 方案，使去中心化应用的链接可以在用户拥有的任何 web3 浏览器中打开，而不是某个特定厂商的应用。"},"tags":["url","deep-link","mobile","web3-browser","wallet"],"explainers":{"en":{"lang":"en","tldr":"Proposes a dapp: URL scheme, with an optional chain ID, so links to decentralized apps open in whatever web3 browser the user has instead of a specific vendor's app.","tags":["url","deep-link","mobile","web3-browser","wallet"],"related":[155,831,681,1328],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-1710/","markdown":"## What problem does it solve?\n\nOn mobile, a regular browser cannot run most dapps because it has no injected wallet. Dapps therefore deep-link users into a specific wallet's built-in browser, and every wallet had its own URL scheme for this. A dapp had to pick a wallet to recommend, even if the user already had a different one installed.\n\nReusing the `ethereum:` scheme from [ERC-831](/eip-831/) was not a good fit either: many apps register it (wallets, identity apps), and on iOS the OS picks unpredictably between apps that claim the same scheme, so the link might open in an app that has no browser at all.\n\nERC-1710 proposes a dedicated, vendor-neutral scheme for \"open this website in a web3 browser\".\n\n## How it works\n\n```\ndapp:[chain_id@]dapp_url\n```\n\n- `dapp_url` is a normal RFC 3986 URI, written without the `https://` prefix.\n- `chain_id` is optional. If present, the browser switches to that chain ID (as defined in [EIP-155](/eip-155/)) before loading the page, so the user lands on the right network.\n\nExample from the spec: `dapp:1@peepeth.com/brunobar79?utm_source=github` opens a web3 browser, selects chain 1 (mainnet), then navigates to `https://peepeth.com/brunobar79?utm_source=github`.\n\nDapps can still recommend a particular wallet through deferred deep linking, but if the user already has any browser that supports `dapp:`, the link just works.\n\n## Sample code\n\nBuilding a link, and how a web3 browser might interpret one (TypeScript):\n\n```ts\nfunction toDappLink(url: string, chainId?: number): string {\n  const bare = url.replace(/^https?:\\/\\//, \"\");\n  return chainId !== undefined ? `dapp:${chainId}@${bare}` : `dapp:${bare}`;\n}\n\nfunction parseDappLink(link: string): { chainId?: number; url: string } {\n  const m = link.match(/^dapp:(?:(\\d+)@)?(.+)$/);\n  if (!m) throw new Error(\"not a dapp: URL\");\n  return { chainId: m[1] ? Number(m[1]) : undefined, url: `https://${m[2]}` };\n}\n\ntoDappLink(\"https://app.example.org/swap\", 10);\n// \"dapp:10@app.example.org/swap\"\n\nparseDappLink(\"dapp:1@peepeth.com/brunobar79?utm_source=github\");\n// { chainId: 1, url: \"https://peepeth.com/brunobar79?utm_source=github\" }\n```\n\nAn HTML link a dapp could show to mobile visitors:\n\n```html\n\u003ca href=\"dapp:1@app.example.org/\"\u003eOpen in your web3 browser\u003c/a\u003e\n```\n\n## Things to know\n\n- **Status: Stagnant.** Support depends on wallets registering the `dapp:` scheme; check each target wallet before relying on it.\n- The spec does not say whether `http` or `https` should be used when opening the target; the example implies `https`.\n- The `@` separator can be ambiguous if the dapp URL itself starts with user-info (`user@host`). Avoid such URLs.\n- Today, many dapps instead connect to mobile wallets through WalletConnect ([ERC-1328](/eip-1328/)) or wallet-specific universal links. For payment requests, use [ERC-681](/eip-681/).\n"},"ja":{"lang":"ja","tldr":"任意のチェーン ID を付けられる dapp: URL スキームの提案。分散型アプリへのリンクを、特定ベンダーのアプリではなく、ユーザーが持っているどの web3 ブラウザでも開けるようにする。","tags":["url","deep-link","mobile","web3-browser","wallet"],"related":[155,831,681,1328],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-1710/","markdown":"## 何を解決するのか\n\nモバイルでは、通常のブラウザはウォレットが注入されていないため、ほとんどの dapp を実行できません。そのため dapp は、ユーザーを特定のウォレットの組み込みブラウザへディープリンクで誘導しており、各ウォレットがそのために独自の URL スキームを持っていました。ユーザーがすでに別のウォレットをインストールしていても、dapp はおすすめするウォレットを 1 つ選ばなければなりませんでした。\n\n[ERC-831](/eip-831/) の `ethereum:` スキームを再利用するのも適していませんでした。多くのアプリ（ウォレット、アイデンティティアプリ）がこれを登録しており、iOS では、同じスキームを主張するアプリの間で OS がどれを選ぶか予測できないため、リンクがブラウザを持たないアプリで開かれてしまう可能性があります。\n\nERC-1710 は、「この Web サイトを web3 ブラウザで開く」ための、ベンダー中立の専用スキームを提案します。\n\n## 仕組み\n\n```\ndapp:[chain_id@]dapp_url\n```\n\n- `dapp_url` は通常の RFC 3986 の URI で、`https://` の接頭辞を付けずに記述します。\n- `chain_id` は任意です。指定された場合、ブラウザはページを読み込む前にそのチェーン ID（[EIP-155](/eip-155/) で定義）に切り替えるため、ユーザーは正しいネットワークでページを開けます。\n\n仕様の例: `dapp:1@peepeth.com/brunobar79?utm_source=github` は、web3 ブラウザを開き、チェーン 1（メインネット）を選択してから、`https://peepeth.com/brunobar79?utm_source=github` に移動します。\n\ndapp は、遅延ディープリンクを使って特定のウォレットをおすすめすることもできますが、ユーザーがすでに `dapp:` に対応するブラウザを持っていれば、リンクはそのまま動作します。\n\n## サンプルコード\n\nリンクの作成と、web3 ブラウザがそれをどう解釈するかの例です（TypeScript）。\n\n```ts\nfunction toDappLink(url: string, chainId?: number): string {\n  const bare = url.replace(/^https?:\\/\\//, \"\");\n  return chainId !== undefined ? `dapp:${chainId}@${bare}` : `dapp:${bare}`;\n}\n\nfunction parseDappLink(link: string): { chainId?: number; url: string } {\n  const m = link.match(/^dapp:(?:(\\d+)@)?(.+)$/);\n  if (!m) throw new Error(\"not a dapp: URL\");\n  return { chainId: m[1] ? Number(m[1]) : undefined, url: `https://${m[2]}` };\n}\n\ntoDappLink(\"https://app.example.org/swap\", 10);\n// \"dapp:10@app.example.org/swap\"\n\nparseDappLink(\"dapp:1@peepeth.com/brunobar79?utm_source=github\");\n// { chainId: 1, url: \"https://peepeth.com/brunobar79?utm_source=github\" }\n```\n\ndapp がモバイルの訪問者に表示できる HTML リンクの例です。\n\n```html\n\u003ca href=\"dapp:1@app.example.org/\"\u003eOpen in your web3 browser\u003c/a\u003e\n```\n\n## 知っておくべきこと\n\n- **ステータス: Stagnant。** 対応はウォレットが `dapp:` スキームを登録しているかどうかに依存します。頼る前に、対象となる各ウォレットを確認してください。\n- 仕様では、ターゲットを開くときに `http` と `https` のどちらを使うべきかは述べられていません。例からは `https` が想定されていると読み取れます。\n- dapp の URL 自体がユーザー情報（`user@host`）で始まる場合、区切りの `@` があいまいになることがあります。そのような URL は避けてください。\n- 現在では、多くの dapp が代わりに、WalletConnect（[ERC-1328](/eip-1328/)）やウォレット固有のユニバーサルリンクを通じてモバイルウォレットに接続します。支払いリクエストには [ERC-681](/eip-681/) を使ってください。\n"},"ko":{"lang":"ko","tldr":"선택적 체인 ID를 붙일 수 있는 dapp: URL 스킴을 제안한다. 탈중앙화 앱 링크가 특정 업체의 앱이 아니라 사용자가 가진 아무 web3 브라우저에서나 열리게 한다.","tags":["url","deep-link","mobile","web3-browser","wallet"],"related":[155,831,681,1328],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-1710/","markdown":"## 어떤 문제를 해결하나요?\n\n모바일에서는 일반 브라우저에 주입된 지갑이 없기 때문에 대부분의 dapp을 실행할 수 없습니다. 그래서 dapp은 사용자를 특정 지갑의 내장 브라우저로 딥 링크했고, 지갑마다 이를 위한 자체 URL 스킴이 있었습니다. 사용자가 이미 다른 지갑을 설치해 두었더라도 dapp은 추천할 지갑 하나를 골라야 했습니다.\n\n[ERC-831](/eip-831/)의 `ethereum:` 스킴을 재사용하는 것도 맞지 않았습니다. 많은 앱(지갑, 신원 앱)이 이를 등록하고, iOS에서는 같은 스킴을 주장하는 앱들 사이에서 OS가 예측할 수 없게 하나를 고르기 때문에, 브라우저가 전혀 없는 앱에서 링크가 열릴 수 있습니다.\n\nERC-1710은 \"이 웹사이트를 web3 브라우저에서 열기\"를 위한 전용의 업체 중립적인 스킴을 제안합니다.\n\n## 어떻게 동작하나요?\n\n```\ndapp:[chain_id@]dapp_url\n```\n\n- `dapp_url`은 일반적인 RFC 3986 URI이며, `https://` 접두사 없이 씁니다.\n- `chain_id`는 선택 사항입니다. 있으면 브라우저는 페이지를 불러오기 전에 해당 체인 ID([EIP-155](/eip-155/)에 정의됨)로 전환하므로, 사용자는 올바른 네트워크에 도착합니다.\n\n명세의 예시: `dapp:1@peepeth.com/brunobar79?utm_source=github`는 web3 브라우저를 열고, 체인 1(메인넷)을 선택한 다음 `https://peepeth.com/brunobar79?utm_source=github`로 이동합니다.\n\ndapp은 지연 딥 링킹(deferred deep linking)을 통해 특정 지갑을 여전히 추천할 수 있지만, 사용자가 이미 `dapp:`를 지원하는 브라우저를 가지고 있다면 링크는 그냥 동작합니다.\n\n## 샘플 코드\n\n링크를 만들고, web3 브라우저가 이를 어떻게 해석할 수 있는지 보여 주는 예입니다(TypeScript).\n\n```ts\nfunction toDappLink(url: string, chainId?: number): string {\n  const bare = url.replace(/^https?:\\/\\//, \"\");\n  return chainId !== undefined ? `dapp:${chainId}@${bare}` : `dapp:${bare}`;\n}\n\nfunction parseDappLink(link: string): { chainId?: number; url: string } {\n  const m = link.match(/^dapp:(?:(\\d+)@)?(.+)$/);\n  if (!m) throw new Error(\"not a dapp: URL\");\n  return { chainId: m[1] ? Number(m[1]) : undefined, url: `https://${m[2]}` };\n}\n\ntoDappLink(\"https://app.example.org/swap\", 10);\n// \"dapp:10@app.example.org/swap\"\n\nparseDappLink(\"dapp:1@peepeth.com/brunobar79?utm_source=github\");\n// { chainId: 1, url: \"https://peepeth.com/brunobar79?utm_source=github\" }\n```\n\ndapp이 모바일 방문자에게 보여 줄 수 있는 HTML 링크입니다.\n\n```html\n\u003ca href=\"dapp:1@app.example.org/\"\u003eOpen in your web3 browser\u003c/a\u003e\n```\n\n## 알아둘 점\n\n- **상태: Stagnant.** 지원 여부는 지갑이 `dapp:` 스킴을 등록했는지에 달려 있습니다. 의존하기 전에 대상 지갑을 각각 확인하세요.\n- 명세는 대상을 열 때 `http`와 `https` 중 무엇을 써야 하는지 밝히지 않습니다. 예시는 `https`를 암시합니다.\n- dapp URL 자체가 사용자 정보(`user@host`)로 시작하면 `@` 구분자가 모호해질 수 있습니다. 그런 URL은 피하세요.\n- 오늘날 많은 dapp은 대신 WalletConnect([ERC-1328](/eip-1328/))나 지갑별 유니버설 링크를 통해 모바일 지갑에 연결합니다. 결제 요청에는 [ERC-681](/eip-681/)을 사용하세요.\n"},"zh":{"lang":"zh","tldr":"提议一种带可选链 ID 的 dapp: URL 方案，使去中心化应用的链接可以在用户拥有的任何 web3 浏览器中打开，而不是某个特定厂商的应用。","tags":["url","deep-link","mobile","web3-browser","wallet"],"related":[155,831,681,1328],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-1710/","markdown":"## 它解决什么问题？\n\n在移动端，普通浏览器无法运行大多数 dapp，因为它没有注入的钱包。因此 dapp 会通过深度链接把用户带入某个特定钱包的内置浏览器，而每个钱包都有自己的 URL 方案。即使用户已经安装了另一个钱包，dapp 也必须选一个来推荐。\n\n复用 [ERC-831](/eip-831/) 的 `ethereum:` 方案也不合适：许多应用（钱包、身份应用）都会注册它，而在 iOS 上，当多个应用声明同一个方案时，系统会不可预测地选择其中之一，因此链接可能在一个根本没有浏览器的应用中打开。\n\nERC-1710 为\"在 web3 浏览器中打开这个网站\"提出了一个专用的、厂商中立的方案。\n\n## 它如何运作\n\n```\ndapp:[chain_id@]dapp_url\n```\n\n- `dapp_url` 是一个普通的 RFC 3986 URI，书写时不带 `https://` 前缀。\n- `chain_id` 是可选的。如果存在，浏览器会在加载页面之前切换到该链 ID（在 [EIP-155](/eip-155/) 中定义），使用户落在正确的网络上。\n\n规范中的示例：`dapp:1@peepeth.com/brunobar79?utm_source=github` 会打开一个 web3 浏览器，选择链 1（主网），然后导航到 `https://peepeth.com/brunobar79?utm_source=github`。\n\ndapp 仍然可以通过延迟深度链接（deferred deep linking）推荐某个特定钱包，但如果用户已经拥有任何支持 `dapp:` 的浏览器，链接就能直接工作。\n\n## 示例代码\n\n构造链接，以及 web3 浏览器可能如何解释它（TypeScript）：\n\n```ts\nfunction toDappLink(url: string, chainId?: number): string {\n  const bare = url.replace(/^https?:\\/\\//, \"\");\n  return chainId !== undefined ? `dapp:${chainId}@${bare}` : `dapp:${bare}`;\n}\n\nfunction parseDappLink(link: string): { chainId?: number; url: string } {\n  const m = link.match(/^dapp:(?:(\\d+)@)?(.+)$/);\n  if (!m) throw new Error(\"not a dapp: URL\");\n  return { chainId: m[1] ? Number(m[1]) : undefined, url: `https://${m[2]}` };\n}\n\ntoDappLink(\"https://app.example.org/swap\", 10);\n// \"dapp:10@app.example.org/swap\"\n\nparseDappLink(\"dapp:1@peepeth.com/brunobar79?utm_source=github\");\n// { chainId: 1, url: \"https://peepeth.com/brunobar79?utm_source=github\" }\n```\n\ndapp 可以向移动端访客展示的 HTML 链接：\n\n```html\n\u003ca href=\"dapp:1@app.example.org/\"\u003eOpen in your web3 browser\u003c/a\u003e\n```\n\n## 需要注意\n\n- **状态：Stagnant。** 支持情况取决于钱包是否注册了 `dapp:` 方案；在依赖它之前，请逐个检查目标钱包。\n- 规范没有说明打开目标时应使用 `http` 还是 `https`；示例暗示使用 `https`。\n- 如果 dapp 的 URL 本身以用户信息（`user@host`）开头，`@` 分隔符可能产生歧义。请避免这样的 URL。\n- 如今，许多 dapp 转而通过 WalletConnect（[ERC-1328](/eip-1328/)）或各钱包专属的通用链接（universal link）连接移动钱包。对于支付请求，请使用 [ERC-681](/eip-681/)。\n"}}}
