Thomas Kerin

Results 149 comments of Thomas Kerin

So here's a snippet to convert a public key to a segwit address https://github.com/Bit-Wasp/bitcoin-php/blob/1.0/examples/addresstypes.php#L21-L24 But really I'm asking if you know about BIP32 already, and are interested in following a...

Omg that site is amazing @atlaschiew! The address generation and transaction examples are super. Well done.

@nicolanj thank you, you are right! I will modify the snippet

No one's made a PR for it yet and I haven't happened to need it yet.. This issue can be my reminder, but I have a few things on my...

What do you mean the addresses are the same? The address in your code returns the same value every time, or you're trying to change the address type? Recent &...

Hey! Thanks for opening the issue. I agree that code is a foot gun right now. Short term, this is decodes and checks the checksum: ``` try { $bip30->mnemonicToEntropy($mnemonic); }...

Sorry, this one made me pause for a while, and I regret not getting back to it sooner! Any reason this can't be achieved with a complementary class ZcashBlockHeader which...

Hi, thanks for the PR! I haven't been keeping up with cutting edge side of things, but I wasn't 100% sure there was a way to sign a message with...

Check out the AddressFactory class, it has functions for parsing addresses from various things: https://github.com/Bit-Wasp/bitcoin-php/blob/7ac9fbe477ac437883cd180bc01006ecb6b6c5f9/src/Address/AddressFactory.php ```php try { $address = AddressFactory::fromOutputScript($output->getScript()); echo $address->getAddress(/*$network*/); // defaults to globally set network, otherwise...

Oops, thought I responded to this already! You're definitely right, I'll work on this. Probably just add it to master, but as mentioned in the litecoin bytes thread I'm not...