Skip to content

igrishaev/clj-bitcoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitcoin

A Clojure wrapper upon the original C++ Bitcoin client. Implements JSON-RPC APIs for the server.

Installation

Add [bitcoin "0.1.0-SNAPSHOT"] to your dependencies.

Usage

(use 'bitcoin.api)

(def server (json-rpc "127.0.0.1" 8332 "ivan" "123"))

(getbalance server "ivan")
0.0

(getaccountaddress server "ivan")
1DiYHeMaZaX2aJpJ92J19gk3uar1KVDzGh

(getaddressesbyaccount server "ivan")
["1DiYHeMaZaX2aJpJ92J19gk3uar1KVDzGh"]

License

Copyright © 2017 Ivan Grishaev.

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

Misc

This library was developed during live coding session on YouTube.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages