/lcp

Primary LanguageGoMIT LicenseMIT

Liquid-Chain

CircleCI Coverage Status

Liquid-chain is a replicated state machine that enables execution and storage of arbitrary functional programs in various languages targeting LLVM IR. This repo is the official Golang implementation.

Storage

Development (macOS)

  1. Install Homebrew

  2. Install rocksdb

    brew install rocksdb
  3. Compile and run

    go run main.go

Docker

docker-compose build
docker-compose run node init
docker-compose run --service-ports node start --api
docker-compose run node unsafe_reset_all

Testing

  1. New contract sources should be added to wasm-funcs.export in the following format:

    <path>=<export-functions>

  2. Compile sources to wasm:

    ./wasm-compile.sh