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.
-
Install Homebrew
-
Install rocksdb
brew install rocksdb
-
Compile and run
go run main.go
docker-compose build
docker-compose run node init
docker-compose run --service-ports node start --api
docker-compose run node unsafe_reset_all
-
New contract sources should be added to
wasm-funcs.export
in the following format:<path>=<export-functions>
-
Compile sources to wasm:
./wasm-compile.sh