reddio-com / itachi

A high performance decentralized modular sequencer for Starknet
GNU General Public License v3.0
18 stars 8 forks source link

itachi

Welcome to itachi, the much easier and more flexible modular stack to build Layer 2 or Layer 3 chains using Cairo and the Starknet technology. It's open source for everyone to use.

Itachi is built on the Yu framework which not only makes it modular but also gives developers a simpler and more user-friendly development experience, just as simple as developing a web backend.

It is specifically easy and helpful if you want to quickly own more of the stack and get more control over your chain.

Overall Structure

image

Cairo Compatible

Build & Run

Prerequisites

Docker Pull & Run

docker pull ghcr.io/reddio-com/itachi:latest
docker-compose up

Source code Build & Run

git submodule init
git submodule update --recursive --checkout
make build

./itachi

You can see the running results on your terminal. image

Reset Chain

Reset Chain will clean all the stored history data locally.

make reset

Test

Starknet.py

You can use more complete python tests with starknet.py: https://github.com/reddio-com/itachi-testing

starknetGo

You can use starknetGo for RPC unit testing. You can refer to the itachi_test branch in this fork used during RPC development:https://github.com/haisenCx/starknet.go/tree/itachi_test Files with the _test suffix in path starknet.go/rpc are unit tests for RPC.

🌐 Connect to Test Endpoint

https://itachi-dev.reddio.com/

Configs

Chain Configs

The default config file of Itachi chain is conf/cairo_cfg.toml

Genesis Configs

The genesis configs of Itachi chain is same as Madara. You can learn more details by docs

Starknet RPC

0.5.1

0.6.0

0.7.0