CoinbaseCustomSDK - A custom class built to handle coinbase transactions.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Simply download a copy of the class file CoinbaseCustomSDK.php and include it in your php script. instantiate an object of the class CoinbaseCustomSDK e.g :
require_once "PATH_TO_COINBASE_CUSTOM_SDK_ClASS";
$cb_handle = new CoinbaseCustomSDK('API_KEY', 'SECRET_KEY');
You can now call public methods of the CoinbaseCustomSDK class on the initialized object.
$cb_handle->getAccountId();
$cb_handle->getServerTime();
$cb_handle->getAccounts();
$name = "New Address for Payment";
$cb_handle->createNewAddress($name);
$address = "ENTER THE BITCOIN ADDRESS / ADDRESS ID";
$cb_handle->getAddressTransactions($address);
php >= 5.6, CURL, Coinbase API Key, Coinbase Secret Key
PHP
George Imoedemhe
Fork it! Create your feature branch: git checkout -b my-new-feature Commit your changes: git commit -am 'Add some feature' Push to the branch: git push origin my-new-feature Submit a pull request :D
This project is licensed under the GNU Lesser General Public License - see the LICENSE.md file for details