We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This guide will help you set up the project in just 5 minutes.
Ensure you have the following tools installed:
For detailed instructions, refer to the Dojo Documentation.
Clone the Repository
git clone https://github.com/ByteBuildersLabs/BabyBeastsv2 cd BabyBeastsv2/dojo
Install and Update Slot
curl -L https://slot.cartridge.sh | bash slotup
slot auth login
slot deployments create DEPLOYMENT_NAME katana
https://api.cartridge.gg/x/DEPLOYMENT_NAME/katana
Start Katana Logs
slot deployments logs DEPLOYMENT_NAME katana -f
Update Configuration Files
dojoup -v 1.0.8
sozo build
sozo migrate
slot deployments create <PROJECT> torii --world <WORLD_ADDRESS> --rpc <URL>
slot deployments logs DEPLOYMENT_NAME torii -f
cd client
pnpm install
brew install mkcert
windows
choco install mkcert -y
cd client mkcert -install mkcert localhost
import fs from "fs"; server: { https: { key: fs.readFileSync('mkcert+1-key.pem'), // Path to private key file cert: fs.readFileSync('mkcert+1.pem'), // Path to certificate file }, },
For windows:
import fs from "fs"; server: { https: { key: fs.readFileSync('localhost.pem'), // Path to private key file cert: fs.readFileSync('localhost-key.pem'), // Path to certificate file }, },
pnpm run dev
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Dojo Quick Start Guide 🐲⛩️
This guide will help you set up the project in just 5 minutes.
Prerequisites
Ensure you have the following tools installed:
Reference
For detailed instructions, refer to the Dojo Documentation.
Step 1: Backend Setup 🐲
Terminal 1: Set Up Dojo Environment ⛩️
Clone the Repository
git clone https://github.com/ByteBuildersLabs/BabyBeastsv2 cd BabyBeastsv2/dojo
Install and Update Slot
curl -L https://slot.cartridge.sh | bash slotup
Start Katana Logs
Update Configuration Files
Step 2: Compile and Migrate Contracts 🐲
Terminal 2: Build and Deploy Contracts ⛩️
Compile the contracts:
Step 3: Set Up a Torii Instance 🐲
Create a Torii Instance
Step 4: Launch the Frontend 🐲
Terminal 3: Frontend Setup ⛩️
cd client
macOS
windows
cd client mkcert -install mkcert localhost
For macOS:
For windows:
🐉 Visit localhost in your browser.
The text was updated successfully, but these errors were encountered: