Skip to content

liberland/liberland_substrate

Repository files navigation

GitHub tag (latest by date) Twitter

Liberland Blockchain

Liberland Logo

Liberland is a country established in 2015, on a no man’s land (terra nullius) between Croatia and Serbia (www.liberland.org). Liberland’s founders are blockchain and liberty enthusiasts. Liberland’s State project could be summarised by two concepts: Minimal state and distributive governance.

We want to make all e-government services available to our citizens using our substrate-based blockchain.

This repository contains the substrate-based implementation of Liberland blockchain node.

Documentation:

Interact with live testnets:

Contact:

Quick-start guide for developing locally

Install deps

sudo apt update
sudo apt install build-essential git clang curl libssl-dev llvm libudev-dev make protobuf-compiler pkg-config
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup target add wasm32-unknown-unknown

Clone liberland_substrate repository

git clone https://github.com/liberland/liberland_substrate.git -b main
cd liberland_substrate

Run automated tests

cargo test --features runtime-benchmarks --no-fail-fast

Build and run development node

cargo run --release -- --dev

Development instance is a single-node testnet, in which standard development accounts (Alice, Bob, etc.) are endowed with assets. To interact with it, visit Polkadot.js Apps.

Further reading

Licensing

All code that is committed on behalf of Liberland is distributed under the MIT license. You may find a copy of the MIT license here. Alternatively, you may visit OpenSource.org.