Create a wallet on your protected machine, as you want to keep your cryptocurrency safe. Electrum bitcoin notice that the potential intruder still will be able to see your addresses, transactions and balance, though.
Now you are able to set up your electrum merchant daemon. SSL private key and a public certificate for your domain set up already. Create another file, file that contains your certificate, and the list of certificates it depends on, up to the root CA. Your certificate must be at the top of the list, and the root CA at the end. In order to display public URLs, we need to set another configuration variable, url_rewrite. Install and run Electrum-Merchant configuration program.
By default it installs a simple interface, other interfaces are in preparation and will be available in future. Please note that it is required to follow steps in previous paragraph before you will be able to successfuly run Electrum-Merchant. URL of the signed BIP70 request. URL of a webpage displaying the request. Note that request_url and index_url use the domain name we defined in url_rewrite.
The page shows the payment request. You can open the bitcoin: URI with a wallet, or scan the QR code. The bottom line displays the time remaining until the request expires. This page can already used to receive payments.
Now, the page is fully interactive: it will update itself when the payment is received. Commands to the Electrum daemon can be sent using JSONRPC. This is useful if you want to use electrum in a PHP script. Note that the daemon uses a random port number by default. 5, the JSON-RPC interface is authenticated using HTTP basic auth. The username and the password are config variables. Note that HTTP basic auth sends the username and the password unencrypted as part of the request.
While using it on localhost is fine in our opinion, using it across an untrusted LAN or the Internet is not secure. Hence, you should take further measures in such cases, such as wrapping the connection in a secure tunnel. After setting a static port, and configuring authentication, we can perform queries using curl or PHP. Built with Sphinx using a theme provided by Read the Docs. Frequently Asked Questions How does Electrum work? My transaction has been unconfirmed for a long time.
Can I import private keys from other Bitcoin clients? Can I sweep private keys from other Bitcoin clients? Where is my wallet file located? Can I do bulk payments with Electrum? Can Electrum create and sign raw transactions?
Electrum freezes when I try to send bitcoins. How can I pre-generate new addresses? The seed is a random phrase that is used to generate your private keys. Your wallet can be entirely recovered from its seed. The seed phrase created by Electrum has 132 bits of entropy. It is not possible to recover your password.
However, you can restore your wallet from its seed phrase and choose a new password. If you lose both your password and your seed, there is no way to recover your money. This feature is enabled by default in recent versions of Electrum. Eventually, your transaction will either be confirmed or cancelled.