Bitcoin Forum
May 30, 2024, 09:34:47 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 [3] 4 »
41  Bitcoin / Electrum / Re: How to import bitcoin addresses generated using Master Public Key? on: April 07, 2013, 02:01:36 PM
This is not the case. This is only the case if you give out 5 sequencial addresses which all five go unused for some reason.

This is actually real scenario.
1. Visitor comes to online store and clicks "buy product X for bitcoins" out of curiocity.
2. Temporary bitcoin address is generated, as no one knows if that a real buyer or just clicker.
3. Above process happen few times before real buyer comes. He got address with, say, index #7 before unused addresses expires for reuse.
4. Merchant never sees money coming unless he adjusts gap limit according to missing Step 4 instructions.

Gleb
42  Bitcoin / Bitcoin Technical Support / Which wallets supports Master Public Keys? on: April 06, 2013, 01:22:23 PM
Are there any other deterministic wallets (besides Electrum) that allows to use Master Public Key representing the wallet to safely generate "receive only" addresses?
43  Bitcoin / Electrum / How does Electrum change addresses are generated? on: April 06, 2013, 11:15:38 AM
Does change addresses are generated using special index numbers outside of gap limit?

They need to be able to be deterministically restored eventually?
44  Bitcoin / Electrum / Re: How to import bitcoin addresses generated using Master Public Key? on: April 06, 2013, 10:51:09 AM
People supply their MPK. The funds end up directly in their Electrum wallet. There is no step 4.

Step 4: Adjust "Gap Limit" of your Electrum wallet to be equal or higher than number of payments addresses generated at your acceptbit.com merchant URL.
Otherwise you'll never see the payments beyond the 5-th address.

Gleb
45  Bitcoin / Electrum / Electrum gap limit question on: April 05, 2013, 07:50:27 PM
As I understand if gap limit is 20 and address with zero-based index #15 is used  - electrum will allocate 16 more addresses?
If address #15 will become empty again (funds from it sent out elsewhere making it's balance zero) - will it be returned to "gap pool" ?

46  Bitcoin / Electrum / Re: How to import bitcoin addresses generated using Master Public Key? on: April 05, 2013, 04:46:28 PM
acceptbit.com is just a proof-of-concept sone in a weekend hackatohon. I should probably state this more clearly on the frontpage.

The only thing the front page is missing is "Step 4" to describe in details how people can get hold of Bitcoins received.
Otherwise it looks like deposit-only solution.
47  Bitcoin / Electrum / Re: How to import bitcoin addresses generated using Master Public Key? on: April 05, 2013, 03:33:01 PM
...

I guess you have to program that yourself, electrum doesn't do that kind of thing by default (AFAIK).

So if someone used acceptbit.com to make a sales - he than has to write a special program to get hold of funds???
48  Bitcoin / Project Development / Re: Completed: [Bounty] PHP function to generate bitcoin addr from Electrum mpk on: April 05, 2013, 01:52:30 PM
Thanks to BkkCoins for great work - Bounty sent.

Gleb
http://www.bitcoinway.com/
49  Bitcoin / Electrum / Re: How to import bitcoin addresses generated using Master Public Key? on: April 05, 2013, 11:01:25 AM
there is no special way to import them; you don't want to set your gap limit to such a high value.
just import them as if they were exogeneous


Thank you.

My scenario is - online merchant uses accepbit.com model to generate addresses from MPK for each order.

How does merchant gets hold of the funds after making few thousand sales?

What are the steps?
50  Bitcoin / Electrum / How to import bitcoin addresses generated using Master Public Key? on: April 05, 2013, 01:38:21 AM
I've generated bitcoin address using mpk, using index with high value =  184926
How do i import it into my wallet?
51  Bitcoin / Project Development / Re: [Bounty] PHP function to generate bitcoin addr from Electrum Master Public Key on: April 04, 2013, 01:50:51 PM
I can do this for you. I'm familiar with both languages.

I have the code already in Python distilled and simplified from the Electrum code (as a cmd line utility that gens address from mpk) and just need an ECDSA and Hash PHP lib to convert it for you. I can research and do this but don't want to bother if it's in vain because you already paid someone else.

No, i haven't paid anyone else yet - so if you want to go ahead - I reserve the bounty for you.
If you'd give me time estimate - that would be great.

BTW your function will need an increasing index value as well as MPK. The address cannot be gen'd from an MPK alone. A sequence value N is needed. But you just supply a static increasing counter value.

Also, note that using a wallet with these addresses you will need a high gap value to ensure that any addresses generated but never used do not stop the wallet from "seeing" past the empty addresses.

Sure - let just add an extra param - "$index" to it. Let assume calling code will take care of index tracking.
And no problem with high gap value at wallet (although I just personally need to learn what it really is).

Also, if you're ok with running a shell command from php then an easy way would be to call my python cmd util to provide the address. Slower no doubt, but easy.

I want PHP code to be compatible with hosting accounts that do not allow shell commands or do not have python installed.
So pure PHP would be preferred. But python utility would still be useful to have to test final PHP code against.

Feel free to email me directly at: gleb/at/bitcoinway.com

Gleb
52  Bitcoin / Electrum / Re: Electrum - Bitcoin client for the common users (friendly and instant) on: April 03, 2013, 09:10:08 PM
Hi ThomasV,

First, thank much for your great effort.

How hard (or how much money) would it take to accomplish this: https://github.com/spesmilo/electrum/issues/170
(task described more here)

I looked at merchant.py - but i don't think it helps much to do what i want.

I need single, standalone, self-contained function (with all the glorious math included) to generate bitcoin addresses from master public key.
53  Bitcoin / Electrum / Re: Should I make a new portable version? - yes :) on: April 03, 2013, 08:56:44 PM
Hi bitcats, are you still interested in this? Finally I have some time to look into it Smiley

Could you help me to write a standalone, fully self-contained (no dependency on other services) function to generate bitcoin addresses using Electrum wallet's Master Public Key? Preferably in PHP.

I'd be happy to donate to the effort.

I published a little bounty project about it here.
54  Bitcoin / Project Development / Re: [Bounty]PHP function to generate bitcoin address from Electrum Master Public Key on: April 02, 2013, 02:09:17 PM
An easier way would be to run an electrum client on the server and use the command line interface to get addresses.

Or just use this - http://bitfreak.info/?page=tools&t=bitsci

Thanks, bitfreak.info link sounds interesting. I contacted their people for possible help.
55  Bitcoin / Project Development / Re: 3 things you can do to help the Bitcoin cause on: April 02, 2013, 02:07:16 PM
Wordpress.org + WooCommerce plugin + Bitcoin Payments for WooCommerce = your own free online store to sell digital and physical products and use bitcoin along with any other currency and any other payment processor.
56  Bitcoin / Development & Technical Discussion / Re: Writing universal bitcoin plugin for Wordpress - need community help! on: April 01, 2013, 03:23:20 PM
There is a bounty posted for anyone who can translate this function from Python to PHP here:
https://bitcointalk.org/index.php?topic=163915.0

Gleb
57  Bitcoin / Project Development / Completed: [Bounty] PHP function to generate bitcoin addr from Electrum mpk on: April 01, 2013, 02:16:43 PM
-= Project completed =-

Current bounty: 1 BTC.

I need one standalone PHP function created that takes as a parameter Electrum wallet's Master Public Key to generate Bitcoin addresses:

$new_bitcoin_address = generate_bitcoin_address ($master_public_key);

There is an open source project - acceptbit.com (sources are here) that already utilizes this functionality, but it is written on Python, just like all other Electrum software.
Here are sources for Electrum client

I neither good at math nor at Python and need this function written in PHP to utilize it within Wordpress plugin.

So someone who knows both Python and PHP would likely be able to do that.

Here's more description of the project I working on.
58  Bitcoin / Development & Technical Discussion / Writing universal bitcoin plugin for Wordpress - need community help! on: March 31, 2013, 02:03:29 PM
Intro:
here's the Wordpress plugin I wrote recently allowing anyone to accept bitcoins as a payment method at their online stores:
http://wordpress.org/extend/plugins/bitcoin-payments-for-woocommerce/

It utilizes free WooCommerce online store plugin (to create inventory, shopping cart) as well as blockchain.info API and acts as a payment extension for it.

Now I want to write another, more universal wordpress plugin that will allow anyone with a blog to accept bitcoin payments without relying on any third party service.
To make it happen in a secure manner I want to utilize Electrum wallet's Master Public Key to generate "watch only" bitcoin addresses.
(Very similar to acceptbit.com model - but i want this whole technology to be integrated within Wordpress plugin).
This way if any hacker will get into merchant's website code or database - he couldn't steal anything - no private keys are stored anywhere.

For that I need a little bit of a community help!

The only stumbling block for me is to get the code for standalone function (preferably in PHP) that takes master public key and returns bitcoin address like this:

$new_bitcoin_address = generate_bitcoin_address ($master_public_key);

If anyone who is familiar with Electrum math could assist me in that - we'll have universal, open source, standalone solution for Wordpress allowing anyone to sell stuff and accept bitcoins with a click of a button.

(Donations are welcome too of course).

Thanks!

Gleb
59  Bitcoin / Project Development / Re: [ In-Progress ] WooCommerce extension for Bitcoin on: March 28, 2013, 04:53:02 PM
I just did it for free as a fun project:
http://wordpress.org/extend/plugins/bitcoin-payments-for-woocommerce/

Hope you didn't spend much on elancers Smiley

Gleb
60  Other / Beginners & Help / Re: How to generate custom bitcoin address? on: December 05, 2012, 07:38:40 PM
Thanks!
Pages: « 1 2 [3] 4 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!