From 80fb9b73939796518d627e0253b79be9efe7f0e3 Mon Sep 17 00:00:00 2001 From: Daniel Karzel Date: Mon, 19 Apr 2021 22:48:08 +1000 Subject: [PATCH] `dnsaddr` instead of `dns4` --- README.md | 2 +- docs/asb/README.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ec3364a9..1f1a8f25 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ More information about the protocol in this [presentation](https://youtu.be/Jj8r The seller will provide you their peer id and multiaddress. We are running an `asb` instance on testnet. You can swap with to get familiar with the `swap` CLI. - Our peer id is `12D3KooWCdMKjesXMJz1SiZ7HgotrxuqhQJbP5sgBm2BwP1cqThi` and our multiaddress is `/dns4/xmr-btc-asb.coblox.tech/tcp/9939` + Our peer id is `12D3KooWCdMKjesXMJz1SiZ7HgotrxuqhQJbP5sgBm2BwP1cqThi` and our multiaddress is `/dnsaddr/xmr-btc-asb.coblox.tech` 3. Follow the instructions printed to the terminal ## Limitations diff --git a/docs/asb/README.md b/docs/asb/README.md index 573a8563..ae6a4bc7 100644 --- a/docs/asb/README.md +++ b/docs/asb/README.md @@ -36,6 +36,9 @@ A service provider has to manually provide the connection details to users that The Peer-ID is printed upon startup of the ASB. The multi-address typically consists of IP-address or URL (if DNS entry configured) of the service provider. +When configuring a domain name for the ASB through a DNS entry, a service provider can configure it by using the [`dnsaddr` format](https://github.com/multiformats/multiaddr/blob/master/protocols/DNSADDR.md) for the TXT entry. +This will simplify the connection detail `--seller-addr` for CLI users connecting to the ASB and provides more flexibility with e.g. ports (i.e. `/dnsaddr/your.domain.tld` instead of `/dns4/your.domain.tld/tcp/port`). + Each service provider running an ASB can decide how/where to share these connection details. ![Service Provider scenarios](http://www.plantuml.com/plantuml/proxy?cache=no&src=https://raw.githubusercontent.com/comit-network/xmr-btc-swap/d2cf45d8b9f0c2e180cd85aa034f370965adc11c/docs/asb/diagrams/cli-asb-overview.puml)