8000 GitHub - dojoengine/katana: High-performant sequencer for Dojo
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dojoengine/katana

Repository files navigation

Katana

Table of Contents

Development Setup

Rust

The project is built with Rust. You'll need to have Rust and Cargo installed first in order to start developing. Follow the installation steps here: https://www.rust-lang.org/tools/install

LLVM Dependencies

For Cairo native support, you'll need to install LLVM dependencies:

For macOS:

make native-deps-macos

For Linux:

make native-deps-linux

After installing LLVM, you need to make sure the required environment variables are set for your current shell:

source scripts/cairo-native.env.sh

Bun (for Explorer)

When building the project, you may need to build the Explorer application. For that, you need to have Bun installed.

Building the Explorer application will be handled automatically by Cargo, but it can also be built manually:

make build-explorer

Testing

Setting Up the Test Environment

Before running tests, you need to set up the test environment by generating all necessary artifacts:

make test-artifacts

Once setup is complete, you can run the tests using:

cargo test
0