Bitcoin Forum
June 03, 2024, 01:35:24 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Electrum / Re: How can you create an address for a user permanently? on: January 03, 2021, 03:22:38 PM
Addresses never expires. If tracking invoices is not something that you need, it'll be better for you to just take an addresses from your address tab and give it to the user.

If you want to use invoices, just create but set the expiry to Never. Even if it did expire, it wouldn't matter as the address would still be in your wallet and they're never deleted.

How do you set an infinite validity period? An example with electrum jsonrpc ?
2  Bitcoin / Electrum / How can you create an address for a user permanently? on: January 03, 2021, 02:54:24 PM
Hello everybody. How can electrum give a user a top-up address forever? I want the address to be given in my account when requested, and it would be possible to replenish it both today and in a year. How can this be done and is electrum suitable for this?
3  Bitcoin / Electrum / How i can use electrum in node js ? on: November 11, 2020, 07:28:23 AM
Hi. I install electrum on my server. How i can connect to electrum from node js script ? I try build website with bitcoin payment;
I have not found examples of using electrum in the node js
4  Bitcoin / Development & Technical Discussion / Re: Can i use something else or only bitcoin core full node ? on: November 10, 2020, 12:23:53 PM
Than you, i use this command for install.
5  Bitcoin / Development & Technical Discussion / Re: Can i use something else or only bitcoin core full node ? on: November 10, 2020, 11:44:44 AM
It's work for me
Install dependencies:   sudo apt-get install python3-pyqt5 libsecp256k1-0 python3-cryptography

Download package:   
wget https://download.electrum.org/4.0.4/Electrum-4.0.4.tar.gz

Verify signature:   
wget https://download.electrum.org/4.0.4/Electrum-4.0.4.tar.gz.asc
gpg --verify Electrum-4.0.4.tar.gz.asc

Install with PIP:   
sudo apt-get install python3-setuptools python3-pip
python3 -m pip install --user Electrum-4.0.4.tar.gz


when....

sudo ln -s ~/.local/bin/electrum /usr/local/bin/electrum


6  Bitcoin / Development & Technical Discussion / Re: Can i use something else or only bitcoin core full node ? on: November 10, 2020, 11:34:08 AM
can u give me info for install electrum from command line on ubuntu ?)  Grin
7  Bitcoin / Development & Technical Discussion / Can i use something else or only bitcoin core full node ? on: November 10, 2020, 10:38:31 AM
Hello everyone. I want use blockchain api for my web site. Create and issue a wallet to the user for replenishment, check transactions. I can do this task with bitcoin core, but bitcoin core want many disk space for install (150-200gb). Is there any alternative to the bitcoin core? In which I can create a wallet, bind it to a user and verify transactions. For example, can I use electrum? If so, is there an instruction on how it can be installed and RPC api.
8  Bitcoin / Development & Technical Discussion / Re: How i can creating a Bitcoin Core wallet from a mnemonic ? on: October 03, 2020, 06:29:59 AM
the problem with this method is that it is not clearly defined what it does and the problem with the script is its dependency that was not easy to go through (at least not easy for me). so i would never use it.

I am running my electrum app on my PC and i am trying to add a new wallet with a mnemonic phrase from my main bitcoin wallet (from which I previously created a wallet). Balance = 0. There are no previously sent bitcoins. If I dump a wallet, the right key differs from the one shown on the site, what can I do? Has anyone encountered this? How can you get a mnemonic phrase using core.
that's not how this script and bitcoin core work.
Electrum or any other similar tool use the mnemonic to derive all your child keys at any derivation path you like. this script is just a silly way of deriving the BIP-32 master private key (xprv) then only getting its private key part (first 32-byte of HMAC result) then feeding that as the HD seed used in bitcoin core. then core uses that 32-byte entropy to derive keys at its defined derivation path which if i'm not mistaken is at m/0'/0'

try converting your mnemonic to xprv then decode it using something like http://bip32.org/ and copy the "Key" right below "Chain code" (not the "private key WIF" that is lower lower). then use that in your core as entropy, you should get the same result.

note that i haven't tested this and i'm only speculating based on the source code that i saw. i also don't recommend this method or using any of these sites for generating keys at all. it is too risky.

this is where i looked:
https://github.com/libbitcoin/libbitcoin-explorer/blob/55438a45d9cc20790ca834c1621cfea60d6f4a36/src/commands/hd-to-ec.cpp#L53
https://github.com/libbitcoin/libbitcoin-system/blob/84e8d2a0c6ce4e253669f2f14aedbf74d6b83b1f/src/wallet/hd_private.cpp#L208

Thank you. i will not use this script. I try use electrum with bitcoin core node and install it on my server
9  Bitcoin / Development & Technical Discussion / How i can creating a Bitcoin Core wallet from a mnemonic ? on: October 02, 2020, 02:37:48 PM
I try use this script https://github.com/tekbe/wallet-tools for generate bitcoin core wallet on mnemonic phrase. When i run create_wallet.sh (i use https://iancoleman.io/bip39/ for generate mnemonic and paste in script), i get new wallet in my bitcoin core, when i generate new address and send little bit btc on him.

I am running my electrum app on my PC and i am trying to add a new wallet with a mnemonic phrase from my main bitcoin wallet (from which I previously created a wallet). Balance = 0. There are no previously sent bitcoins. If I dump a wallet, the right key differs from the one shown on the site, what can I do? Has anyone encountered this? How can you get a mnemonic phrase using core.

Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!