ByteBuildersLabs / ByteBeastsBackend

The ByteBeasts backend hosts all the Dojo contracts that define the game's logic and mechanics.
MIT License
6 stars 9 forks source link
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!