Version: v0.0.0-...-326d8f6 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2020 License: AGPL-3.0 Imports: 8 Imported by: 0



Package btcaddress makes sure the Bitcoin address for the Ripple donations account on Keybase is up-to-date. This shows a default key if the system is not set up, or otherwise refreshes the address every 30 minutes (using redis to hold the cache). The wallet with the name "Ripple" will be used for getting the address.



View Source
const AccountName = "Ripple"

AccountName is the name the account on coinbase must have to be considered as the actual account.

View Source
const DefaultAddress = "1CKGzZqrVwKoXwHEWpTobWqqtkYuqoFNro"

DefaultAddress is the address used if the package is not set up to refresh from coinbase.


View Source
var (
	Redis     *redis.Client
	APIKey    string
	APISecret string

Configuration variables.


func Get

func Get() string

Get retrieves the Bitcoin address, using the following methods:

First the address is requested from Redis, and if the key is available from redis then that is used.

After that, the key is requested from coinbase, and the account ID is found if not already saved in Redis.


This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL