clj-btc

From Bitcoin Wiki
Revision as of 16:54, 29 March 2014 by Iwilcox (talk | contribs) (Created page with "{{lowercase}}{{stub}} clj-btc provides Clojure bindings for Bitcoin Core's JSON-RPC API. Example use from the REPL: <...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Hashbtc.jpgThis page is a stub. Help by expanding it. clj-btc provides Clojure bindings for Bitcoin Core's JSON-RPC API.

Example use from the REPL:

user=> (require '[clj-btc.core :as btc])
nil
user=> (btc/getinfo)
{"timeoffset" 0, "protocolversion" 70001, "blocks" 111908, "errors" "",
 "testnet" true, "proxy" "", "connections" 4, "version" 80500,
 "keypoololdest" 1380388750, "paytxfee" 0E-8M,
 "difficulty" 4642.44443532M, "keypoolsize" 101, "balance" 0E-8M,
 "walletversion" 60000}

Sources can be found on GitHub.