Skip to main content

Introduction

Let's learn about AppChain in 5 minutes.

Getting Started

Getting started Running a new madara node.

You'll need a server.

Install the madara node

Install madcli

curl -L https://raw.githubusercontent.com/Generative-Labs/Madara-AppChain-CLI/main/madcliup/install | bash

Installing madara

madcli install madara

Start madara node

Run the development server:

Setup

madara setup --chain dev --from-remote --base-path .

Start madara dev

nohup madara --chain dev --force-authoring --alice --unsafe-rpc-external --rpc-methods Unsafe --rpc-cors all --base-path . &

Install the toolchain

  • scarb (build toolchain and package manager for the Cairo and Starknet ecosystems)
  • sncast
warning

The starknet rpc specification version 0.6.0 is not yet supported by madara.

The toolchain needs to specify a lower version!

#VersionDescription
sncast0.9.1All-in-one tool for interacting with StarNet smart contracts, sending transactions, and getting chain data.
scarb0.6.2Build toolchain and package manager for the Cairo and Starnet ecosystems.

Install scarb

curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | sh -s -- -v 0.6.2

Install sncast

curl -L https://raw.githubusercontent.com/foundry-rs/starknet-foundry/master/scripts/install.sh | sh

Specify version

snfoundryup -v 0.9.1