GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - gak/cryptobill: Retrieves quotes and create transactions for multiple crypto bill services and cryptocurrencies.

BranchesTags
Open more actions menu

Latest commit

 

History

31 Commits
31 Commits

Folders and files

NameName
Last commit message
Last commit date
cmd/cryptobill
cmd/cryptobill
 
 
vendor
vendor
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
bill.go
bill.go
 
 
bit2bill.go
bit2bill.go
 
 
cryptobill.go
cryptobill.go
 
 
currency.go
currency.go
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
livingroom.go
livingroom.go
 
 
paidbycoins.go
paidbycoins.go
 
 
quote.go
quote.go
 
 

Repository files navigation

cryptobill

Retrieves quotes and create transactions for multiple crypto bill services and cryptocurrencies.

Please note that this is under development, and although it works for me, you should use caution.

Currently supports price quoting for:

  • Bit2Bill (https://www.bit2bill.com.au/)
  • Living Room of Satoshi (https://www.livingroomofsatoshi.com/)
  • Paid by Coins (https://paidbycoins.com/)

Only supports creating a transaction with Paid by Coins for BPAY.

Quote Example

This is a real result on 2018-10-26.

It shows the list in order of the apparent markup based on BitcoinAverage prices.

$ quote 1000 AUD --filter=BTC,ETH,BCH

  PBC| BTC| 0.11343| 1039.09807|  3.910%|
  B2B| BTC| 0.11352| 1039.90846|  3.991%|
  PBC| ETH| 3.64804| 1042.86772|  4.287%|
  B2B| ETH| 3.66797| 1048.56729|  4.857%|
  PBC| BCH| 1.66889| 1052.68224|  5.268%|
  B2B| BCH| 1.66889| 1052.68224|  5.268%|
 LROS| BTC| 0.11634| 1065.71874|  6.572%|
 LROS| ETH| 3.74721| 1071.21697|  7.122%|
 LROS| BCH| 1.75148| 1104.77434| 10.477%|

Pay BPAY Example

It will give you a destination address and an amount to pay into, e.g.:

$ cryptobill pay bpay 1000 aud btc pbc 1234 9999888877776666 --auth [email protected]

&cryptobill.TransactionAddResponse{
  ToAddress: "3TxgIzzzzzzzzzyyyyyyyyyyyyyyyxxxxx",
  TotalAmount: 0.1111,
}

How to use

This is a Go app. You need Go installed and in your path.

To run it, you can just use go run:

$ go run cmd/cryptobill/cryptobill.go --help

Usage: cryptobill.exe <command>

Flags:
  --help    Show context-sensitive help.

Commands:
  quote <amount> <fiat>

  pay bpay --auth=STRING <amount> <fiat> <crypto> <service> <code> <account>

  pay eft --auth=STRING <amount> <fiat> <crypto> <service> <bsb> <account-number> <account-name>

Run "cryptobill.exe <command> --help" for more information on a command.
exit status 1

Contributions

Feel free to send in pull requests.

About

Retrieves quotes and create transactions for multiple crypto bill services and cryptocurrencies.

Topics

billsbpaycryptocurrencyeft

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.