coinbase.pl -- Tests checking a balance using the coinbase api
The synopsis, showing one or more typical command-line usages.
perl -Ilib bin/coinbase.pl
or
perl -Ilib bin/coinbase.pl --use-curl
both with and without curl the script outputs some debug info
Tests checking a balance using the coinbase api
Overall view of the options
coinbase.pl [-verbose] [--use-curl] [--nonce=NONCE] [--config=CONF.ini]
Set path to an acmecoinbase.ini file. The will default to ~/.acmecoinbase.ini
This file is expected to have contents like:
[default] api_key = 123456apikeyfgYZ api_secret = ZZZ111apisecret333DDD444EEE555ZZ
For now, the [default] part is mandatory.
Turns on/off verbose mode. (off by default)
Use curl instead of perl LWP libraries, for test purposes.
Hard code the nonce to a particular number. For testing. (Techically this is supposed to 'always increase')
Copyright (c) 2018 Josh Rabinowitz, All Rights Reserved.
Josh Rabinowitz
To install Acme::Coinbase, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Acme::Coinbase
CPAN shell
perl -MCPAN -e shell install Acme::Coinbase
For more information on module installation, please visit the detailed CPAN module installation guide.