Bit-Wasp / bitcoin-php

Bitcoin implementation in PHP
The Unlicense
1.05k stars 419 forks source link

ScriptPubKey to Address #851

Closed samyan closed 4 years ago

samyan commented 4 years ago

Hi, Is it possible to get the address from scriptPubKey? And can anyone share any example because i not found nothing in Internet.

afk11 commented 4 years ago

AddressCreator::fromOutputScript https://github.com/Bit-Wasp/bitcoin-php/blob/1.0/src/Address/AddressCreator.php#L73

samyan commented 4 years ago

Thank you very much!