Setup & Usage (add migration)
Pay into your LiteClient from a Paymail wallet.
In order to work with existing infrastructure, a DNS service record (SRV) is required. The record details the domain where the capabilities document is hosted. An address record (A) is required for the actual service, along with DNSSEC and an SSL certificate for best results.
_bsvalias._tcp.yourdomain.tld. 3600 10 10 443 yourdomain.tld.
Note: Sometimes registrars will make you separate out these values, in which case they are as follows:
Once you have the DNS records all pointing to the right hosts, you can simply add this domain name to the environment of the paymail-server:
# replace with domain pointed at your paymail service
# These are the default values which usually do not need to be specified.
# They must point to the local wallet on the same docker network.
In order to associate a Paymail alias with a particular user with the Wallet, you must register an alias using the domain name you intend to use to top the wallet up.
Whenever a Paymail client request is sent to this server it will create an invoice using the Wallet JSON api, and then call the the DPP endpoints of the wallet, translating between DPP and Paymail message standards before passing those details to the Paymail client making the request.
Starting from an existing Paymail wallet - simple make a payment to [email protected] and the funds will be in your wallet within seconds.
/api/v1/balanceroute of your wallet to check the deposit was successful.
Last modified 4mo ago