Skip to content

A collection of simple programming tools to aid entities in the action of accepting BTC payments directly to HD Wallets within their control.

License

Notifications You must be signed in to change notification settings

EAWF/BTC-Toolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WARNING

  • This piece of software is provided without warranty of any kind, use it at your own risk.

Bitcoin Merchant's Toolbox

BTCToolbox.org

A Toolbox for Building Your Own Bitcoin Paywall

Mission: To provide a simple set of tools for programmers to use to build Bitcoin Paywalls

Table of Contents

[Toolbox] -- [getBTCAddress] -- [getBTCBalance] -- [getBTCInvoice] -- [getBTCRate] -- [getBTC.conf] -- [DevDocs]

Target Audience

  • Merchants/Sellers/Vendors of products and services who want to add bitcoin as a method of invoice remittance for their operations.
  • Programmers developing bitcoin payment gateways for use by Merchants/Sellers/Vendors of products and services.

The Toolbox

These are tools and code snippets that you can use to build your own Bitcoin paywall.

  • getBTCAddress - Payment Address Derivation from an HD Wallet's exported, account-level, extended public key.
  • getBTCRate - returns the current exchange rate for bitcoin
  • getBTCPrice - returns the BTC amount for the desired dollar amount based on the current bitcoin exchange rate
  • getBTCInvoice - returns a BIP-21 string that encodes payment information such as amounts, labels, and messages that may be included in the payers wallet.
  • getBTCBalance - Checks the blockchain for the current balance of the payment address and number of confirmations.

Safe Test Vectors

  • Safe test addresses may been obtained by using Ian Coleman's excellent BIP-39 Mnemonic Code Converter with this 12 word mnemonic:
    • abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about
    • WARNING!!! - DO NOT SEND BITCOIN TO ADDRESSES CREATED FROM THIS BIP-39 MNEMONIC!!! YOU WILL LOSE YOUR BITCOIN!!!!!

Additional Helpful Resources:

  • BIP's - Bitcoin Improvement Proposals are the concensus driven rules for programming bitcoin.

Contributors/Collaborators:

Kudo's and Acknowledgements

About

A collection of simple programming tools to aid entities in the action of accepting BTC payments directly to HD Wallets within their control.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •