Author

Topic: Electrum as backend, questions (Read 286 times)

copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
September 18, 2017, 03: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).
newbie
Activity: 2
Merit: 0
September 18, 2017, 02: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
Jump to: