Home

Deploying ResilientDB

This tutorial assumes that you have setup ResilientDB by following this blog. In order to get started with deploying ResilientDB and the extended applications on cloud you will need to follow the steps below. Prerequisites Create a Cloud instance You can create a cloud instance on either AWS (EC2), GCP (Compute Engine), or choose any other Virt...

Read more

Logging in ResilientDB

Overview Logging is used to help ResilientDB to recover its local state after restarting. The state can be the one before it is shut down or the state from other replicas. When ResilientDB receives a request related to the consensus logic, it will be written to a log file by appending to the tail to guarantee written order. Requests in the log...

Read more

Getting started with ResVault

ResVault is a chrome extension that serves as a wallet for ResilientDB. The wallet allows you to commit and retrieve data from ResilientDB and provides user account creation and deletion. It communicates with ResilientDB using the ResilientDB GraphQL server and enables transaction logging. Prerequisites Setup Python3.10 Ensure you have Python3....

Read more

Recovery and Checkpoint Protocols in NexRes

The view-change protocol and checkpoint algorithm provide PBFT with liveness by allowing the system to make progress when the primary fails. In this blog, we introduce how we implement the PBFT view-change protocol and checkpoint algorithm in NexRes, list what Byzantine failures our current version is resilient to, and illustrate how our view-ch...

Read more

Using the NexRes Explorer

Our Explorer page is a tool for visualizing the NexRes blockchain. The Explorer displays specific blocks on the blockchain, transactions within the blocks, ledger configuration data, and a chart exposing transaction history. Install Go to our install tutorial for instructions on how to install NexRes. Set Up You will need to clone three repos...

Read more

GeoBFT in NexRes

In this article, we present a comprehensive introduction to the Geo-Scale Byzantine Fault-Tolerant consensus protocol (GeoBFT) through the lens of the NexRes codebase. We will illustrate the algorithm of inter-cluster sharing and remote view-change of the protocol, and how to implement it on NexRes. We will also show the performance experiment r...

Read more

NexRes Durability Layer

We provide two databases to choose from to use for durable storage: LevelDB and RocksDB. Both are key-value stores based on log-structured merge (LSM) trees. LSM trees are optimized for write-heavy workloads, and consist of multiple levels, with the keys sorted at each level. The top level is called the memtable, where the most recently inserted...

Read more

UTXO On NexRes

An unspent transaction output (UTXO) model helps us to make crypto transactions more efficient and it is a crucial core part in Bitcoin. In this document, we introduce the UTXO implementation on NexRes. Crypto key A Crypt key is a private-public key pair to provide the security of the transaction. We use ECDSA as the encoding algorithm and sig...

Read more