Support the ongoing development of Laravel.io →
API Packages Laravel

I am currently using BlockCypher's transaction APIs to transfer cryptocurrency. While the Transaction Create API works fine, the Transaction Send API requires a signature. Following the API documentation, I attempted to use their PHP library, which relies on the bitwasp/bitcoin package for the sign function. However, I am using PHP 8.2.12 and Laravel 10, and the required package is not compatible with these versions. Downgrading my PHP and Composer versions might negatively impact my project. How can I resolve this issue? Is there an alternative way to create a signature for a BlockCypher BTC transaction?

0
moderator

Hello @rijonrrb

Maybe you can fork the package make it compatible with newer PHP version and create a PR? On that way everybody can profit from it (that is the beauty of op open source)

Else you can check how it handle the signature and use that knowledge to implement it in your project.

0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.