Bitcoin Forum

Local => Español (Spanish) => Topic started by: Narydu on January 28, 2013, 05:28:05 AM



Title: Buena idea para desarrlladores...
Post by: Narydu on January 28, 2013, 05:28:05 AM
Varios deben saberlo ya pero a mi me sono novedoso aunque obvio... Miren como este servicio resuelve el tema de multiples direcciones con una sola clave privada para evita el trust factor y generar ilimitadas wallets!

http://bitcoinmagazine.com/review-of-acceptbit-the-trust-free-payment-processor/

Basicamente toma la clave privada que solo yo posea y la multiplica por un factor dando una nueva clave... Me parece genial para quienes desarrollen servicios con wallets individuales por transaccion.

Suerte y espero que a alguien le sirva.


Title: Re: Buena idea para desarrlladores...
Post by: tbcoin on January 28, 2013, 11:39:55 AM
Realmente el sistema no es algo nuevo, pero si su implementación en este tipo de servicio.

Acabo de probarlo y quitando que genera mal la url del QR "http:/acceptbit.com/m/99CgP4tCA5D2biwFejEhne" (falta una "/" al principio),  funciona muy bien.

Seguro que este metodo proliferara en las plataformas de pago.



Title: Re: Buena idea para desarrlladores...
Post by: tbcoin on January 28, 2013, 11:48:48 AM
Acabo de ver que electrum ya implementa esta utilidad

https://github.com/spesmilo/electrum/blob/master/scripts/merchant.py
 (https://github.com/spesmilo/electrum/blob/master/scripts/merchant.py)
Quote
merchant.py is a daemon that manages payments for a web server. It
creates Bitcoin addresses using a master public key (so you do not
leave your private keys on the server), detects when payments are
received and notifies your web application.

The workflow goes like this:

 - the server sends a request to the daemon via POST. the request
   contains an ID, an amount to be paid, an expiration period.

 - the daemon answers with a Bitcoin address, where the customer needs
   to send the coins.

 - later, the daemon will send a POST to the webserver, to notify that
   payment has been received OR that the request has expired


Since addresses are generated using an Electrum master public key, it
is possible to visualize payments in the Electrum client; you will,
however, need to manually adjust your "gap limit".

In order to use this script, first edit and rename
merchant.conf.template to merchant.conf