Bitcoin Forum
July 21, 2024, 01:41:40 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 280 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
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!