Bitcoin Forum
May 11, 2024, 04:38:48 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum as backend, questions  (Read 278 times)
Sentenza31 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
September 18, 2017, 06:34:20 PM
 #1

Hello everyone i have quick question.

I want to use electrum has backend to handle payment on a website.
My plan (but no sure if everything is possible), i want to create a multi-sig wallet, then export master public key and use it on the server as watch-only wallet.

I need on new adresse for every invoice, so I  will use the cmd : electrum addrequest --force, but how can i get all the new generate adresse back in the cold wallet ?

If you know a better conception for this stuff let me know.

Thank you
1715445528
Hero Member
*
Offline Offline

Posts: 1715445528

View Profile Personal Message (Offline)

Ignore
1715445528
Reply with quote  #2

1715445528
Report to moderator
1715445528
Hero Member
*
Offline Offline

Posts: 1715445528

View Profile Personal Message (Offline)

Ignore
1715445528
Reply with quote  #2

1715445528
Report to moderator
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715445528
Hero Member
*
Offline Offline

Posts: 1715445528

View Profile Personal Message (Offline)

Ignore
1715445528
Reply with quote  #2

1715445528
Report to moderator
1715445528
Hero Member
*
Offline Offline

Posts: 1715445528

View Profile Personal Message (Offline)

Ignore
1715445528
Reply with quote  #2

1715445528
Report to moderator
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
September 18, 2017, 07:56:19 PM
 #2

Hello everyone i have quick question.

I want to use electrum has backend to handle payment on a website.
My plan (but no sure if everything is possible), i want to create a multi-sig wallet, then export master public key and use it on the server as watch-only wallet.

I need on new adresse for every invoice, so I  will use the cmd : electrum addrequest --force, but how can i get all the new generate adresse back in the cold wallet ?

If you know a better conception for this stuff let me know.

Thank you

You can use the same command in your cold storage wallet as new addresses are generated from your xpub which is generated from your xprv (extended private key, granting access to all coins/addresses and private keys).

Use this command:
wallet.storage.put('gap_limit',size)

E.G
wallet.storage.put('gap_limit',100) will generate 100 addresses that are determined using the Hierarchical Deterministic method (from your seed/xpub/xprv whichever the wallet has access to).
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!