/balance

Repository to the Balance paper

Primary LanguageMathematicaMIT LicenseMIT

Balance: Dynamic Collateral Adjustments

We are introducing a mechanism to dynamically adjust deposits in the case of external events depending on the contributions of agents towards a cryptoeconomic layer 2 protocol. The mechanism design philosophy is borrowed from Layered Token Curated Registry (TCR). However, we make significant changes to the idea of the registry. The idea is that agents are assigned to layers based on their actions, which in turn determine the amount of collateral they have to provide. The more "desired" actions an agent performs, the less collateral the agent has to provide to participate in the protocol.

Balance Overview

A general protocol overview can be found here. The details and security proofs can be found in the paper.

Installation

Make sure you have a recent version of truffle and ganache-cli installed as global packages. If not, install them with:

npm - g install truffle ganache-cli

Install the node dependencies with:

npm install

Start ganache-cli is a separate terminal window:

ganache-cli

In your other terminal, run the tests:

truffle test

If all tests pass, deploy the contracts locally:

truffle migrate

License

This software is released under the MIT License.