• This repository has been archived on 02/Aug/2024
  • Stars
    star
    533
  • Rank 83,238 (Top 2 %)
  • Language
    Rust
  • License
    MIT License
  • Created almost 2 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

DEPRECATED in favor of https://github.com/madara-alliance/madara

⚑ Madara: Starknet Sequencer πŸ‘‰πŸ‘ˆ

Welcome to Madara, a blazing fast ⚑ Starknet sequencer designed to make your projects soar!

Built on the robust Substrate framework and fast, thanks to Rust πŸ¦€, Madara delivers unmatched performance and scalability to power your Starknet-based Validity Rollup chain.

Dive into the world of Madara and join our passionate community of contributors! Together, we're pushing the boundaries of what's possible within the Starknet ecosystem.

πŸš€ Discover the unparalleled flexibility and might of Madara, your gateway to launching your very own Starknet appchain or L3. Harness the prowess of Cairo, while maintaining complete control over your custom appchain, tailored to your specific requirements. Madara is designed to empower a multitude of projects, fueling growth within the Starknet ecosystem.

πŸ“£ Peripheral repositories

  • Madara Explorer by the great LambdaClass team 🫢: A block explorer for Madara.
  • Madara Infra: A collection of scripts and tools to deploy and manage Madara on different environments (e.g. AWS, docker, ansible, etc.). It also contains the Starknet Stack demo docker-compose file.
  • Madara Kit Application: A simple application that demonstrates how to use Madara. Deployed on https://app.madara.zone.
  • Madara Docsite: The source code of the Madara documentation website. Deployed on https://docs.madara.zone.

🌟 Features

  • Starknet sequencer 🐺
  • Built on Substrate 🌐
  • Rust-based for safety and performance 🏎️
  • Custom FRAME pallets for Starknet functionality πŸ”§
  • Comprehensive documentation πŸ“š
  • Active development and community support 🀝

πŸ“š Documentation

Get started with our comprehensive documentation, which covers everything from project structure and architecture to benchmarking and running Madara:

πŸ—οΈ Build & Run

Want to dive straight in? Check out our Getting Started Guide for instructions on how to build and run Madara on your local machine.

Benchmarking

Benchmarking is an essential process in our project development lifecycle, as it helps us to track the performance evolution of Madara over time. It provides us with valuable insights into how well Madara handles transaction throughput, and whether any recent changes have impacted performance.

You can follow the evolution of Madara's performance by visiting our Benchmark Page.

However, it's important to understand that the absolute numbers presented on this page should not be taken as the reference or target numbers for a production environment. The benchmarks are run on a self-hosted GitHub runner, which may not represent the most powerful machine configurations in real-world production scenarios.

Therefore, these numbers primarily serve as a tool to track the relative performance changes over time. They allow us to quickly identify and address any performance regressions, and continuously optimize the system's performance.

In other words, while the absolute throughput numbers may not be reflective of a production environment, the relative changes and trends over time are what we focus on. This way, we can ensure that Madara is always improving, and that we maintain a high standard of performance as the project evolves.

One can use flamegraph-rs to generate flamegraphs and look for the performance bottlenecks of the system by running the following :

flamegraph --root --open  -- ./target/release/madara --dev --pool-limit=100000 --pool-kbytes=500000 --rpc-methods=unsafe --rpc-cors=all --in-peers=0 --out-peers=1 --no-telemetry

In parallel to that, run npm run test within the benchmarking folder. Once you stop the node, the flamegraph will open in your browser.

🌐 Connect to the dev webapp

Once your Madara node is up and running, you can connect to our Dev Frontend App to interact with your chain. Connect here!

🀝 Contribute

We're always looking for passionate developers to join our community and contribute to Madara. Check out our contributing guide for more information on how to get started.

πŸ“– License

This project is licensed under the MIT license.

See LICENSE for more information.

Happy coding! πŸŽ‰

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Abdel @ StarkWare
Abdel @ StarkWare

πŸ’»
TimothΓ©e Delabrouille
TimothΓ©e Delabrouille

πŸ’»
0xevolve
0xevolve

πŸ’»
Lucas @ StarkWare
Lucas @ StarkWare

πŸ’»
Davide Silva
Davide Silva

πŸ’»
Finiam
Finiam

πŸ’»
Resende
Resende

πŸ’»
drspacemn
drspacemn

πŸ’»
Tarrence van As
Tarrence van As

πŸ’»
Siyuan Han
Siyuan Han

πŸ“–
ZΓ© Diogo
ZΓ© Diogo

πŸ’»
Matthias Monnier
Matthias Monnier

πŸ’»
glihm
glihm

πŸ’»
Antoine
Antoine

πŸ’»
ClΓ©ment Walter
ClΓ©ment Walter

πŸ’»
Elias Tazartes
Elias Tazartes

πŸ’»
Jonathan LEI
Jonathan LEI

πŸ’»
greged93
greged93

πŸ’»
Santiago GalvΓ‘n (Dub)
Santiago GalvΓ‘n (Dub)

πŸ’»
ftupas
ftupas

πŸ’»
Paul-Henry Kajfasz
Paul-Henry Kajfasz

πŸ’»
chirag-bgh
chirag-bgh

πŸ’»
danilowhk
danilowhk

πŸ’»
Harsh Bajpai
Harsh Bajpai

πŸ’»
amanusk
amanusk

πŸ’»
DamiΓ‘n PiΓ±ones
DamiΓ‘n PiΓ±ones

πŸ’»
marioiordanov
marioiordanov

πŸ’»
Daniel Bejarano
Daniel Bejarano

πŸ’»
sparqet
sparqet

πŸ’»
Robin Straub
Robin Straub

πŸ’»
tedison
tedison

πŸ’»
lanaivina
lanaivina

πŸ’»
Oak
Oak

πŸ’»
Pia
Pia

πŸ’»
apoorvsadana
apoorvsadana

πŸ’»
Francesco Ceccon
Francesco Ceccon

πŸ’»
ptisserand
ptisserand

πŸ’»
Zizou
Zizou

πŸ’»
V.O.T
V.O.T

πŸ’»
Abishek Bashyal
Abishek Bashyal

πŸ’»
Ammar Arif
Ammar Arif

πŸ’»
lambda-0x
lambda-0x

πŸ’»
exp_table
exp_table

πŸ’»
Pilou
Pilou

πŸ’»
hithem
hithem

πŸ’»

This project follows the all-contributors specification. Contributions of any kind welcome!

More Repositories

1

awesome-starknet

A curated list of awesome StarkNet resources, libraries, tools and more
1,498
star
2

beerus

Beerus is a trustless StarkNet Light Client ⚑blazing fast ⚑ and powered by Rust πŸ¦€
Rust
190
star
3

garaga

State-of-the-art Elliptic Curve operations and SNARKS verification for Cairo & Starknet 🐺.
Cairo
171
star
4

unruggable.meme

☣️ A framework for building safer memecoins πŸ’Έ
Cairo
134
star
5

satoru

Synthetics platform for Starknet, inspired by GMX v2 design.
Cairo
110
star
6

quaireaux

A set of opinionated Cairo 1.0 libraries and algorithms.
Cairo
81
star
7

ziggy-starkdust

⚑ Cairo VM in Zig ⚑
Zig
77
star
8

joyboy

Decentralized social built with Nostr and powered by Starknet account abstraction.
TypeScript
67
star
9

shenlong

Shenlong is a blazingly fast ⚑ tool to generate LLVM IR from Cairo, written in Rust πŸ¦€
Rust
64
star
10

abi-wan-kanabi

Abi parser for Cairo smart contracts, based on wagmi abitype
TypeScript
59
star
11

snos

Rust Library for running the Starknet OS via the Cairo VM
Rust
54
star
12

bonsai-trie

A storage system inspired by Besu using Starknet Merkle Trees
Rust
51
star
13

raito

Bitcoin ZK client written in Cairo.
Cairo
39
star
14

piltover

Starknet Core Contract components in Cairo.
Rust
26
star
15

rosettanet

Ethereum <> Starknet RPC middleware.
TypeScript
26
star
16

poseidon-rs

Poseidon Rust library
Rust
25
star
17

gomu-gomu-no-gatling

Blazing fast tool to benchmark Starknet sequencers πŸ¦€
Rust
21
star
18

madara-tsukuyomi

Madara Desktop Application
TypeScript
20
star
19

starknet-phone

Mobile OS built for Starknet
Kotlin
19
star
20

madara-infra

Infrastructure related stuff for Madara.
Shell
16
star
21

bifrost

Example of an ERC20 bridge for tokens minted on StarkNet layer 2
Solidity
13
star
22

madara-docs

MDX
12
star
23

zaun

Solidity contracts for the Starknet Decentralized Protocol proposal
Rust
12
star
24

nori

RPC request router and proxy for Starknet, forked from Optimism proxyd.
Go
10
star
25

agentstark

Giza agents run provable ML models and act autonomously on Starknet using native Account Abstraction
Cairo
6
star
26

madara-app

Madara Kit is a simple app to interact with Starknet Appchains.
TypeScript
6
star
27

awesome-slinks

Unofficial community curated list of Slinks.
5
star
28

gitcoin-allo-starknet

Gitcoin Allo protocol for Starknet 🐺
Cairo
5
star
29

heimdall

Heimdall is the guardian of our best practices
Rust
4
star
30

madara-app-chain-template

Rust
4
star
31

backlog

Keep Starknet Strange projects backlog and ideas
3
star
32

fc-frames-starknet

Starknet x Warpcast
3
star
33

madara-website

Madara website.
JavaScript
2
star
34

edo-tensei

Edo Tensei is an experiment to build a combination of optimization techniques for Starknet storage layout, inspired by Bonsai storage model developed in Besu Ethereum execution client.
Rust
2
star
35

starknet-foundry-compatibility-tests

A standalone github action for testing Starknet RPC compatibility with Starknet Foundry - Cast
Shell
2
star
36

starkton

TON on Starknet
2
star
37

tsubasa-website

Website for Tsubasa Starknet.
JavaScript
1
star
38

madara-swap

Madara Swap
TypeScript
1
star
39

do-it-onchain-with-cairo

Showcase of heavy computation enabled by the Cairo VM on Starknet.
1
star