crypto/config.def.h
2023-04-09 20:28:05 +02:00

13 lines
306 B
C

#define FMT "%s=$%.2f"
// curl https://api.coingecko.com/api/v3/simple/supported_vs_currencies
#define VS "usd"
// curl https://api.coingecko.com/api/v3/coins/list
static const struct wallet_s {
char *id; char *fmt; float value;
} WALLET[] = {
{"bitcoin", "BTC", 1.00000000},
{0},
};