diff options
Diffstat (limited to 'wallet.rst')
-rw-r--r-- | wallet.rst | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -11,6 +11,22 @@ The Wallet Reference This section explains how to set up a wallet. It is worth noting that there are two versions for this componenet - one browser based and the other implemented as an `app` for mobile systems. +------- +General +------- + +Mints and merchants have a base URL for their service. This URL *must* be in a +canonical form when it is stored (e.g. in the wallet's database) or transmitted +(e.g. to a bank page). + +1. The URL must be absolute. This implies that the URL has a schema. +2. The path component of the URL must end with a slash. +3. The URL must not contain a fragment or query. + +When a user enters a URL that is, technically, relative (such as "alice.example.com/mint"), wallets +*may* transform it into a canonical base URL ("http://alice.example.com/mint/"). Other components *should not* accept +URLs that are not canonical. + -------------------- Browser based wallet -------------------- |