Difference between revisions of "BSVAlias"

Line 21: Line 21:
  
 
===Host Discovery===
 
===Host Discovery===
Host Discovery is a DNS based lookup of the responsible host for a given SVAlias.
+
Host Discovery is a DNS based lookup of the responsible host for a given SVAlias. The only practical implementation that exists today is Paymail, in which the host is identified through the domain attached to the receiving party's paymail address which is in standard email format (e.g. [email protected]).
  
 
SVAlias can be:
 
SVAlias can be:

Revision as of 08:23, 15 January 2020

SVAlias is a set of standards assembled to make it simple for individual domains to incorporate wallet services. These services can be run by the domain or through a third party.

The goals of SVAlias are:

  • User friendly payments
  • Permissionless implementation
  • Self hosting
  • Automatic discovery process
  • PKI infrastructure (IPV4)
  • Security
  • Extensibility

Paymail leverages SVAlias into a set of protocols that allows BSV wallets to receive payments using email addresses as handles.

The protocols allow for flexibility in capabilities and implementation.

Service Discovery

The Service Discovery Process is split into two phases:

  1. Host Discovery
  2. Capability Discovery

Host Discovery

Host Discovery is a DNS based lookup of the responsible host for a given SVAlias. The only practical implementation that exists today is Paymail, in which the host is identified through the domain attached to the receiving party's paymail address which is in standard email format (e.g. [email protected]).

SVAlias can be:

  1. Self hosted
  2. Hosted using 3rd party providers (done using a DNS SRV record)

This makes SVAlias compatible with the internet infrastructure we have today

Capability Discovery

Once the host has been identified, the sending party must learn its supported features

This is in the format of a machine readable (JSON) document which is placed on the host web server in the .well-known folder:

https://<target>:<port>/.well-known/bsvalias

Capabilities of a host are not necessarily reflected in an individual account.