-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b761d1
commit a40d600
Showing
7 changed files
with
92 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
{ | ||
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04" | ||
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04", | ||
"features": { | ||
"ghcr.io/prulloac/devcontainer-features/bun:1.1.2": {}, | ||
"ghcr.io/devcontainers/features/rust:1.3.1": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
|
||
# This workflow will install Deno then run `deno lint` and `deno test`. | ||
# For more information see: https://github.com/denoland/setup-deno | ||
|
||
name: Deno | ||
|
||
on: | ||
push: | ||
branches | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Setup repo | ||
uses: actions/checkout@v4 | ||
|
||
- id: setup-dojo | ||
uses: runelabsxyz/setup-dojo@main | ||
with: | ||
version: 'v1.0.0-alpha.12' | ||
|
||
- uses: oven-sh/setup-bun@v2 | ||
with: | ||
bun-version: latest | ||
|
||
- name: Install slot | ||
run: |- | ||
curl -L https://slot.cartridge.sh | bash | ||
- name: Build contract | ||
run: sozo build | ||
|
||
- name: Test contract | ||
run: sozo test | ||
if: false # Set this to true when we finally have working tests | ||
|
||
- name: Install dependencies | ||
working-directory: ./refactor | ||
run: bun install --frozen-lockfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[world] | ||
name = "Octoguns" | ||
description = "The official Dojo Starter guide, the quickest and most streamlined way to get your Dojo Autonomous World up and running. This guide will assist you with the initial setup, from cloning the repository to deploying your world." | ||
cover_uri = "file://assets/cover.png" | ||
icon_uri = "file://assets/icon.png" | ||
website = "https://github.com/dojoengine/dojo-starter" | ||
seed = "octoguns" | ||
|
||
[world.socials] | ||
x = "https://x.com/ohayo_dojo" | ||
discord = "https://discord.gg/FB2wR6uF" | ||
github = "https://github.com/dojoengine/dojo-starter" | ||
telegram = "https://t.me/dojoengine" | ||
|
||
[namespace] | ||
default = "octoguns" | ||
|
||
[env] | ||
rpc_url = "https://api.cartridge.gg/x/octoguns-public-alpha1/katana" | ||
account_address = "0x9b4fea3bb27903a996426a7bd4cd33a23e1187942cf19c6f7611b4db333bee" | ||
private_key = "0x2a79be0d524b62728aa13f63e180a18224cb6205d78473559ccb94957a23814" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
import manifest from '../../contracts/manifests/dev/deployment/manifest.json'; | ||
import { createDojoConfig } from '@dojoengine/core'; | ||
|
||
import {PUBLIC_TORII_URL, PUBLIC_RPC_URL, PUBLIC_BURNER_ADDRESS, PUBLIC_BURNER_KEY, PUBLIC_WORLD_ADDRESS} from '$env/static/public'; | ||
|
||
export const WORLD_ADDRESS = PUBLIC_WORLD_ADDRESS; | ||
|
||
export const dojoConfig = createDojoConfig({ | ||
toriiUrl: PUBLIC_TORII_URL, | ||
rpcUrl: PUBLIC_RPC_URL, | ||
manifest, | ||
toriiUrl: 'https://api.cartridge.gg/x/octoguns-public-alpha1/torii', | ||
rpcUrl: 'https://api.cartridge.gg/x/octoguns-public-alpha1/katana', | ||
masterAddress: PUBLIC_BURNER_ADDRESS, | ||
masterPrivateKey: PUBLIC_BURNER_KEY | ||
}); | ||
|
||
export type Config = typeof dojoConfig; |