Skip to content

KiraCore/sekai

Repository files navigation

SEKAI

SEKAI is KIRA Network's base layer (L1) blockchain application sometimes referred to as “backend”. The role of SEKAI is to be a source of shared security as well as a governance and settlement layer for all KIRA RollApps (L2). KIRA Blockchain preserves information such as user account balances, governance permissions, and RollApp state roots as well as other essential data for coordinating both L1 and L2 operations.

Documentation

For the most up to date documentation please visit docs.kira.network

Quick Installation Guide

Required Tools

KIRA requires the installation of two tools, Cosign and Bash-utils, in order to secure the network and simplify the execution of various tasks. All files in KIRA repositories are always signed with cosign, you should NEVER install anything on your machine unless you verified integrity of the files!

Installation

Login as admin & load environment variables.

sudo -s

Set desired SEKAI release version and binaries repo as env variables within /etc/profile (with bash-utils or manually). Sourcing /etc/profile is necessary. Check latest SEKAI release's version here.

setGlobEnv SEKAI_VERSION "v0.3.39" && \
setGlobEnv SEKAI_REPO "$HOME/sekai" && \
setGlobEnv NETWORK_NAME "test" && \
setGlobEnv SEKAID_HOME "~/.sekaid-$NETWORK_NAME" && \
loadGlobEnvs

Clone repository and install

rm -rf $SEKAI_REPO && rm -fr $GOBIN/sekaid && mkdir $SEKAI_REPO && cd $SEKAI_REPO && \
git clone https://github.com/KiraCore/sekai.git -b $SEKAI_VERSION $SEKAI_REPO && \
chmod -R 777 ./scripts && make install && \
echo "SUCCESS installed sekaid $(sekaid version)" || echo "FAILED"

Verify successful installation

sekaid version --long

SEKAI Modules

Consensus

Basic modules

Liquid Staking

Derivatives

Governance

Layer2

Fees

Utilities & Upgrade

Contributing

Check out contributing.md for our guidelines & policies for how we develop the Kira chain. Thank you to all those who have contributed!