Bitcoin Forum
May 28, 2024, 08:11:20 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Economy / Speculation / Bitcoin going down on: January 16, 2016, 08:13:36 AM
Why is this happening right now? Bitcoin lost about 15% of it's price for three days. Any ideas?
2  Bitcoin / Electrum / Re: Using Electrum on web server on: January 13, 2016, 06:17:27 PM

Code:
electrum addrequest 3.14 -m "this is a test"

But what if I only want to show some Bitcoin address to the user so she could just send Bitcoins to it, I mean any sum, not necessary predefined sum 3.14.

The payment request is the way to go to send your customers a bitcoin address from your Electrum wallet.  The amount is not important - you could set the amount to 0.00 BTC and let the sender decide how much to send in the future. A new Bitcoin address from the list of available addresses will be used (not created) for every payment request.  Electrum generates automatically bitcoin addresses - deterministically - based on the Master Private Key (which is derived from the wallet seed words).  All the keys in the Electrum wallet are a child of that Master Private Key - as you use them, new "child" keys are revealed automatically by Electrum (how many unused addresses are revealed at the same time depends on your gap limit setting).  

Don't worry about the "expiration" of the request either, Bitcoin addresses don't expire - addresses are representations of public keys.  To be confirmed, but I believe this locks the Bitcoin address from being used by Electrum in another payment request, until the expiration time is over (in case the customer didn't use it).  I would make the address available again in the pool of "new" addresses, if unused during the time period.

Thanks a lot! I got it. The last question. Could this command ever return two equal addresses?
3  Bitcoin / Electrum / Re: Using Electrum on web server on: January 11, 2016, 07:56:09 PM
Yes, I was lost in translation, I think he is just looking a way to assign address to people's accounts who register on his site and so when they send money to that address it will show up in their account, kind of like when you register on a gambling website, you get a deposit address and any money sent to that get added to your account.

Yes, that's absolutely my case. Could I do just such a thing with Electrum?

The instructions link presented above would be the right way to do it, other than that you can manually create an address, label it to that user's name and allot it to their account.

Seem there is no way to create an address. I googled about two days, god...
4  Bitcoin / Electrum / Re: Using Electrum on web server on: January 09, 2016, 04:18:44 PM
Yes, I was lost in translation, I think he is just looking a way to assign address to people's accounts who register on his site and so when they send money to that address it will show up in their account, kind of like when you register on a gambling website, you get a deposit address and any money sent to that get added to your account.

Yes, that's absolutely my case. Could I do just such a thing with Electrum?
5  Bitcoin / Electrum / Re: Using Electrum on web server on: January 09, 2016, 01:22:37 PM
Twister didn't get your question as should be I suppose .
So yes you can do , see the documentation here : http://docs.electrum.org/en/latest/merchant.html



Thanks for reply! Looks pretty cool but a little complicated. As I can see first of all I need to create a payment request by :

Code:
electrum addrequest 3.14 -m "this is a test"

But what if I only want to show some Bitcoin address to the user so she could just send Bitcoins to it, I mean any sum, not necessary predefined sum 3.14.
6  Bitcoin / Electrum / Using Electrum on web server on: January 09, 2016, 10:13:13 AM
Hi! I'm thinking about Bitcoin related web site where the user can register and login, and after that send some bitcoins to its account. So I should assign an unique bitcoin address to one user.

Is there any way to do this with Electrum? I think I should generate a new bitcoin address just after the user registered.
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!