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

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

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

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 1037542844944

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#Chec

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 > >

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.

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...@