Skip to content

A Clojure library built on top of the IOTA Reference Implementation. Adds useful enhancements.

License

Notifications You must be signed in to change notification settings

tuddman/clojiota

Repository files navigation

clojiota

A Clojure library built on top of the IOTA Reference Implementation. Adds useful enhancements.

Setup

Prerequisites:
Java 8 installed
maven installed
leiningen installed

First, locally install the underlying IOTA Reference Implementation (iri)

$ git clone https://github.com/iotaledger/iri
$ cd iri
$ mvn clean compile 
$ mvn install

Now we can run clojiota

...with command-line options

$ git clone https://github.com/tuddman/clojiota
$ cd clojiota
$ lein compile
$ java -jar target/clojiota.jar -p 14265

...or with an .ini file

$ git clone https://github.com/tuddman/clojiota
$ cd clojiota
$ lein compile
$ cp iri.ini.example iri.ini
# edit iri.ini to suit your needs. then...
$ java -jar target/clojiota.jar --config iri.ini

Really, all of the command-line options that can be passed to iri can be passed to clojiota as well.

What is MORE fun, though, is spinning up a REPL to interact with IOTA

$ lein repl
> (clojiota.core/-main "-p" "14265")
> ...

More to come.

About

A Clojure library built on top of the IOTA Reference Implementation. Adds useful enhancements.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published