IODB is embedded storage engine designed for blockchain applications.
It is inspired by RocksDB.
It provides ordered key-value store, it is similar to SortedMap<byte[], byte[]>
.
Its main advantage are snapshots with branching and fast rollbacks.
Main features include:
IODB builds are available in Maven repository. Maven dependency snippet is bellow, replace $VERSION
with
:
<dependency>
<groupId>org.scorexfoundation</groupId>
<artifactId>iodb_2.12</artifactId>
<version>$VERSION</version>
</dependency>
Code examples are in the src/test/scala/examples folder.
Documentation is in the doc folder.
IODB works with Intellij IDEA with Scala plugin.
Checkout IODB:
git clone https://github.com/input-output-hk/iodb.git
Install SBT
Compile IODB and install JAR files into local repository:
sbt publish