Skip to content
This repository has been archived by the owner on Oct 24, 2020. It is now read-only.

Sample implementation of a wallet using PHP and the BlockCypher APIs

License

Notifications You must be signed in to change notification settings

blockcypher/php-wallet-sample

Repository files navigation

BlockCypher REST API PHP Sample

Build Status

WARNING: IT'S ONLY A SAMPLE!. If you use this sample, you do so at your own risk.

Overview

This is a sample that showcases the features of BlockCypher's REST APIs. The application uses the SDKs provided by BlockCypher. It is a Bitcoin wallet.

Pre-requisites

  • PHP 5.4+
  • curl, openssl PHP extensions
  • Composer for installing the Rest API SDK.

Running the app

You can use the PHP Built-in web server:

cd web
php -S localhost:8000 server.php

References

TODO

  • Login using BlockCypher API token.
  • Validate address in "Send Funds".
  • Add edit pages for wallets, address, txs.
  • Client-side signing.
  • Support for multisign addresses.
  • Console commands for basic app commands: create wallet, address and transaction.
  • Add behat, phpspec, tests, ...
  • ...

Upcoming features

  • Extract common code to independent package (make some parts reusable to another Symfony or XXX framework projects)
  • Extract common code to independent Symfony bundle (make some parts reusable to another Symfony projects)

About

Sample implementation of a wallet using PHP and the BlockCypher APIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published