Skip to content

Powerful, flexible, lightweight interface to the BitPay Bitcoin Payment Gateway API.

License

Notifications You must be signed in to change notification settings

martindale/bitpay-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BitPay Library for Go

Powerful, flexible, lightweight interface to the BitPay Bitcoin Payment Gateway API.

Supported Python versions PyPi Package

This library is only compatible with Python 3. Please use the bitpay-python-py2 library for Python 2 installations.

API Documentation

API Documentation is available on the BitPay site.

Running the Tests

The reference project is at https://github.com/bitpay/bitpay-go-cli. You will need a working go installation to follow these instructions.

In order to run the tests, follow these steps:

  1. Clone the repository
  2. Set the $GOPATH and $PATH variables source helpers/enviro.sh
  3. Set your test api url (such as https://test.bitpay.com) and your username and password. source helpers/set_constants.sh <url> <username> <password>
  4. For reasons that are not entirely clear, we need to delete all of the required files and re-import them. rm -rf src/github.com src/golang go get -u -t github.com/bitpay/bitpay-go/client
  5. We are now ready to run the tests. ginkgo -r src/github.com/bitpay/

Found a bug?

Let us know! Send a pull request or a patch. Questions? Ask! We're here to help. We will respond to all filed issues.

BitPay Support:

  • BitPay Labs
    • Post a question in our discussion forums
  • GitHub Issues
    • Open an issue if you are having issues with this library
  • Support
    • BitPay merchant support documentation

Sometimes a download can become corrupted for various reasons. However, you can verify that the release package you downloaded is correct by checking the md5 checksum "fingerprint" of your download against the md5 checksum value shown on the Releases page. Even the smallest change in the downloaded release package will cause a different value to be shown!

  • If you are using Windows, you can download a checksum verifier tool and instructions directly from Microsoft here: http://www.microsoft.com/en-us/download/details.aspx?id=11533
  • If you are using Linux or OS X, you already have the software installed on your system.
    • On Linux systems use the md5sum program. For example:
      • md5sum filename
    • On OS X use the md5 program. For example:
      • md5 filename

About

Powerful, flexible, lightweight interface to the BitPay Bitcoin Payment Gateway API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%