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

About The Author

Cédric Walter

I worked with various Insurances companies across Switzerland on online applications handling billion premium volumes. I love to continuously spark my creativity in many different and challenging open-source projects fueled by my great passion for innovation and blockchain technology.In my technical role as a senior software engineer and Blockchain consultant, I help to define and implement innovative solutions in the scope of both blockchain and traditional products, solutions, and services. I can support the full spectrum of software development activities, starting from analyzing ideas and business cases and up to the production deployment of the solutions.I'm the Founder and CEO of Disruptr GmbH.