Select Page

How to accept Bitcoin on a website using Electrum and Letsencrypt

This tutorial will show you how to accept Bitcoin on a website with SSL signed payment requests using Electrum, required is a shell access and enough permission to install electrum

  • A webserver serving static HTML
  • A SSL certificate (signed by a CA)
  • Electrum version >= 2.6

Install dependencies:

sudo apt-get install python3-setuptools python3-pyqt5 python3-pip

Install Electrum:

sudo pip3 install

then run on your server

electrum create electrum daemon start electrum setconfig ssl_privkey /etc/letsencrypt/live/ electrum setconfig ssl_chain /etc/letsencrypt/live/  electrum setconfig requests_dir /home/ electrum setconfig url_rewrite "['file:///home/','']" electrum addrequest 0.015 -m "Payment for service" 

this will return a json with the URL to present to your customers. eg. >

More here

0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments


Would love your thoughts, please comment.x