Bitcoin Forum

Bitcoin => Electrum => Topic started by: PrivacyManiac on April 19, 2020, 04:47:13 PM



Title: Electrum Server donation
Post by: PrivacyManiac on April 19, 2020, 04:47:13 PM
Out of curiosity, how can someone add a donation address for their Electrum Server ?


Title: Re: Electrum Server donation
Post by: HCP on April 19, 2020, 09:42:41 PM
You simply create a new address in the wallet of your choosing and then add that address to your server's configuration. Depending on what server you're using, this is done in different ways.

For instance, ElectrumX uses an environment variable named DONATION_ADDRESS (https://electrumx.readthedocs.io/en/latest/environment.html#miscellaneous).

The server I use (electrs), just provides a "Banner" option (https://github.com/romanz/electrs/blob/master/config_spec.toml#L102-L106) that is just free text that can be specified at runtime or in a config file that is the message shown in the Electrum console and you can add a donation address in that message.

What server are you using? ???


Title: Re: Electrum Server donation
Post by: PrivacyManiac on April 19, 2020, 10:29:53 PM
Thanks, I use Electrum Rust Server on Nodl so it is probably a private server and these settings aren't probably available.


Title: Re: Electrum Server donation
Post by: HCP on April 19, 2020, 11:19:53 PM
I'm not familiar with what Nodl is... do you mean a "Nodl One" (https://www.nodl.it/nodl-one.html) device? ???

If so, that appears to be fully customisable, so I would think you can set that up how you like... or is it a cloud service like AWS or something? ???


Title: Re: Electrum Server donation
Post by: JAM69 on November 18, 2020, 10:27:59 PM
Hello. Does Anyone know if there is any way to set a donation address for electrum server in MyNode?


Title: Re: Electrum Server donation
Post by: BitMaxz on November 18, 2020, 11:25:17 PM
Hello. Does Anyone know if there is any way to set a donation address for electrum server in MyNode?

I think you can put the donation address under Banner file(banner.txt) including contacts and server information.

Try to follow the step 6 from this link below.
- https://freedomnode.com/blog/how-to-install-an-electrum-server-using-full-bitcoin-node-and-electrumx/


Title: Re: Electrum Server donation
Post by: JAM69 on November 19, 2020, 11:24:52 AM
Hello. Does Anyone know if there is any way to set a donation address for electrum server in MyNode?

I think you can put the donation address under Banner file(banner.txt) including contacts and server information.

Try to follow the step 6 from this link below.
- https://freedomnode.com/blog/how-to-install-an-electrum-server-using-full-bitcoin-node-and-electrumx/

The problem is that I can't find the file banner.txt