Skip to content

kariy/starkmint

Repository files navigation

Starkmint

Getting started

Setting up the Rollup

DA layer

Run Celestia consensus and DA bridge nodes.

cd local-da
docker compose -f ./docker/test-docker-compose.yml up

App Layer

cd starkmint
cargo run --bin starkmint

Rollkit

Install rollkit/tendermint.

git clone https://github.com/rollkit/tendermint.git
cd tendermint
git checkout 8be9b54c8c21
make install

Build and run Rollkit.

cd rollkit-node
go build
TMHOME="/tmp/starkmint" tendermint init
NAMESPACE_ID=$(echo $RANDOM | md5sum | head -c 16; echo;)
./rollkit-node -config "/tmp/starkmint/config/config.toml" -rollkit.namespace_id $NAMESPACE_ID -rollkit.da_start_height 1

That's it.

Send an execution

To send executions to the sequencer you need to have a compiled Cairo program (*.json files in the repo). Then you can send them like so:

cargo run --bin cli -- examples/programs/fibonacci.json main

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published