/zaun

Solidity contracts for the Starknet Decentralized Protocol proposal

Primary LanguageRustApache License 2.0Apache-2.0

Zaun

A development environment for Starknet Solidity contracts.

Setup:

curl -L https://foundry.paradigm.xyz | bash
foundryup

Testing:

Unit

forge test -vv

Devnet

Start Avnvil as background process w/ Core Contracts and STARK token:

./script/sn-base-dev.sh

Kill Anvil deployment:

./script/sn-base-kill.sh

Artifacts

Zaun sandbox crate can be used as dev dependency in external projects for integration testing.
If any changes made to the Solidity contracts, one has to re-generate Ethers bindings (this won't be done automatically).

make artifacts

StarkNet Consensus Protocol Contracts

PoC solidity implementation of the following Starknet Decentralized Protocol proposal: