NAME

coinbase.pl -- Tests checking a balance using the coinbase api

SYNOPSIS

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

DESCRIPTION

Tests checking a balance using the coinbase api

OPTIONS

Overall view of the options

coinbase.pl [-verbose] [--use-curl] [--nonce=NONCE] [--config=CONF.ini]
--config=/dif/coinbase.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.

--verbose/--noverbose

Turns on/off verbose mode. (off by default)

--use-curl

Use curl instead of perl LWP libraries, for test purposes.

--nonce=NUMBER

Hard code the nonce to a particular number. For testing. (Techically this is supposed to 'always increase')

COPYRIGHT

Copyright (c) 2018 Josh Rabinowitz, All Rights Reserved.

AUTHORS

Josh Rabinowitz