Skip to content

coxmars/ByteBeastsBackend

 
 

Repository files navigation

ByteBeats official logo

Telegram Chat

Maintainers 🥷

Maintainer: danielcdz
danielcdz
Maintainer: Marco
Marco

Byte Beasts: Official Guide 🐉🎮

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.

Prerequisites 📋

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:

Install Rust 🦀

Go to the Rust installation page

After installing Rust, ensure your PATH environment variable includes the Cargo bin directory (usually $HOME/.cargo/bin).

Install Git 🧑‍💻

Go to the Git installation page and follow the instructions for your operating system to install Git.

Install Scarb ⚙️

The Dojo toolchain integrates Scarb to build and run Dojo projects, installation instructions are here.

Install Dojo using dojoup 🥋

You can install with the dojoup version manager which enables you to easily install, update and manage your Dojo installation.

Install dojoup 🛠️

curl -L https://install.dojoengine.org | bash

Install the Dojo v1.0.0-alpha.5 release 🚀

Install Dojo using asdf 📦

You can alternatively use the asdf package manager to install and manage your Dojo installation.

Install asdf

Follow the asdf installation instructions

Add the asdf-dojo plugin 🔌

asdf plugin add dojo https://github.com/dojoengine/asdf-dojo

Install the latest or a specific version 🆕

asdf install dojo latest      # For the latest version
asdf install dojo 0.7.0       # For a specific version

Set the global or local version 📁

asdf global dojo latest       # Set globally
asdf local dojo 0.7.0         # Set locally in your project directory

Running Locally 🖥️

Terminal one (Make sure this is running) 🏃

# Run Katana
katana --disable-fee --allowed-origins "*"

Terminal two 🔄

# Build the example
sozo build

# Migrate the example
sozo migrate apply

# Start Torii
torii --world 0x70835f8344647b1e573fe7aeccbf044230089eb19624d3c7dea4080f5dcb025 --allowed-origins "*"

Contribution 🤝

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!

Communication channel 📢

If you're a contributor or would like to connect with the project maintainers, feel free to join our Telegram group!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Cairo 99.4%
  • Shell 0.6%