Bitcoin Forum
April 25, 2024, 10:50:45 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum as backend, questions  (Read 274 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
1714042245
Hero Member
*
Offline Offline

Posts: 1714042245

View Profile Personal Message (Offline)

Ignore
1714042245
Reply with quote  #2

1714042245
Report to moderator
1714042245
Hero Member
*
Offline Offline

Posts: 1714042245

View Profile Personal Message (Offline)

Ignore
1714042245
Reply with quote  #2

1714042245
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
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!