Re: [go-nuts] Base58check to decimal

2016-09-18 Thread Nosferatu fist

hello how to add the decimal bitcoin addresses on directory.io

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Base58check to decimal

2016-09-16 Thread Donovan Hide
In the fact the author has already made it easy for you:

https://github.com/saracen/bitcoin-all-key-generator

Also, it starts at 1, not 0 :-)

On 16 September 2016 at 11:30, Donovan Hide  wrote:

> Not sure what the exact questions is, but I think if you study and play
> around with this section of code, you'll get somewhere closer to
> understanding how Bitcoin private keys and addresses work:
>
> https://github.com/saracen/directory.io/blob/master/directory.go#L70-L101
>
> The (joke) app is basically just going from 0 to the maximum possible
> bitcoin private key value and generating the matching address:
>
> http://directory.io/faq
>
> On 16 September 2016 at 09:17, Nosferatu fist 
> wrote:
>
>> Hello donovan First I thank you for having me cleared
>> by implenter against how your code in this application 
>> ?https://github.com/saracen/directory.io/blob/master/directory.go
>>
>> to get this:
>>
>> 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf 
>> 1EHNa6Q4Jz2uvNExL497mE43ikXhwF6kZm 
>> 103754284494436883955695059393877833907143043
>>
>> if you could help me I would be very grateful to you .
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "golang-nuts" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to golang-nuts+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Base58check to decimal

2016-09-16 Thread Donovan Hide
Not sure what the exact questions is, but I think if you study and play
around with this section of code, you'll get somewhere closer to
understanding how Bitcoin private keys and addresses work:

https://github.com/saracen/directory.io/blob/master/directory.go#L70-L101

The (joke) app is basically just going from 0 to the maximum possible
bitcoin private key value and generating the matching address:

http://directory.io/faq

On 16 September 2016 at 09:17, Nosferatu fist 
wrote:

> Hello donovan First I thank you for having me cleared
> by implenter against how your code in this application 
> ?https://github.com/saracen/directory.io/blob/master/directory.go
>
> to get this:
>
> 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf 
> 1EHNa6Q4Jz2uvNExL497mE43ikXhwF6kZm 
> 103754284494436883955695059393877833907143043
>
> if you could help me I would be very grateful to you .
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Base58check to decimal

2016-09-16 Thread Nosferatu fist


Hello donovan First I thank you for having me cleared
by implenter against how your code in this application ?
https://github.com/saracen/directory.io/blob/master/directory.go

to get this:

5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf 
1EHNa6Q4Jz2uvNExL497mE43ikXhwF6kZm 
103754284494436883955695059393877833907143043

if you could help me I would be very grateful to you .

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Base58check to decimal

2016-09-15 Thread Donovan Hide
Here's some code from the example that verifies your decimal value from
your input address:

https://gist.github.com/donovanhide/7fc3ca5170e8080c9eddda4014394ce0

On 15 September 2016 at 17:48, Donovan Hide  wrote:

> Yep, read the docs:
>
> https://godoc.org/github.com/btcsuite/btcutil/base58#CheckDecode
>
> The "check" means run SHA256 twice over the previous payload bytes and use
> the first 4 bytes of the result as the checksum.
>
> On 15 September 2016 at 13:11, Nosferatu fist 
> wrote:
>
>> No base58 but base58check
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "golang-nuts" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to golang-nuts+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Base58check to decimal

2016-09-15 Thread Donovan Hide
Yep, read the docs:

https://godoc.org/github.com/btcsuite/btcutil/base58#CheckDecode

The "check" means run SHA256 twice over the previous payload bytes and use
the first 4 bytes of the result as the checksum.

On 15 September 2016 at 13:11, Nosferatu fist 
wrote:

> No base58 but base58check
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Base58check to decimal

2016-09-15 Thread Nosferatu fist
No base58 but base58check

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Base58check to decimal

2016-09-15 Thread Donovan Hide
This package should help you out:

https://github.com/btcsuite/btcutil/tree/master/base58

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Base58check to decimal

2016-09-15 Thread Nosferatu fist
First Hello and thank you for any help you can give me .

here I have traveled google but I have not found my happiness . I would like to 
convert decimal number BASE58Check in my research but give nothing

example:
bitcoin address : 1HZwkjkeaoZfTSaJxDw6aKkxp45agDiEzN
In decimal : 103754284494436883955695059393877833907143043

Thank you in advance for your help.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.