danielcdz |
Marco |
The official Byte Beasts guide, the quickest and most streamlined way to get your Dojo provable game up and running. This guide will assist you with the initial setup, from cloning the repository to deploying your world.
Read the full tutorial here.
To be able to run the ByteBeasts backend you need to have Git, Rust and Scarb installed on your PC to satisfy Dojo dependencies. You can install them with the following steps:
Go to the Rust installation page
After installing Rust, ensure your PATH
environment variable includes the Cargo bin directory (usually $HOME/.cargo/bin
).
Go to the Git installation page and follow the instructions for your operating system to install Git.
The Dojo toolchain integrates Scarb to build and run Dojo projects, installation instructions are here.
You can install with the dojoup
version manager which enables you to easily install, update and manage your Dojo installation.
curl -L https://install.dojoengine.org | bash
dojoup --version 1.0.0-alpha.5
You can alternatively use the asdf
package manager to install and manage your Dojo installation.
Follow the asdf installation instructions
asdf plugin add dojo https://github.com/dojoengine/asdf-dojo
asdf install dojo latest # For the latest version
asdf install dojo 0.7.0 # For a specific version
asdf global dojo latest # Set globally
asdf local dojo 0.7.0 # Set locally in your project directory
This project uses Git hooks
to ensure code quality and prevent issues before they reach the remote repository.
We have implemented a pre-push
hook that automatically runs tests before any code is pushed to the remote repository. This helps maintain code quality and prevents broken code from being pushed.
- Runs
sozo test
automatically before each push - Blocks the push if tests fail
- Allows the push to proceed only if all tests pass
# Run Katana
make init
# Run Katana
make katana
# Build migrate and start torii
make setup
We welcome contributions from developers of all levels! If you're interested in contributing to this project, please follow our CONTRIBUTION GUIDELINES to get started.
Whether it's fixing bugs, improving documentation, or adding new features, your help is greatly appreciated. Don't hesitate to ask questions or reach out for support—we're here to help!
If you're a contributor or would like to connect with the project maintainers, feel free to join our Telegram group!