forked from cartridge-gg/dopewars
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Scarb.toml
50 lines (41 loc) · 2.11 KB
/
Scarb.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[package]
cairo-version = "2.4.0"
name = "rollyourown"
version = "0.1.0"
[cairo]
sierra-replace-ids = true
[dependencies]
dojo = {git = "https://github.com/dojoengine/dojo.git", tag = "v0.5.1-alpha.2"}
# dojo = {git = "https://github.com/dojoengine/dojo.git", rev = "d7f46502cba3d6462b68a4dfb07336377bca2678"}
[[target.dojo]]
[scripts]
katana = "katana --disable-fee --invoke-max-steps 999999999"
build = "sozo build && scarb run gendojo"
gendojo = "./scripts/gen.sh"
auth = "./scripts/default_auth.sh dev"
auth_staging = "./scripts/default_auth.sh staging"
auth_prod = "./scripts/default_auth.sh prod"
migrate = "sozo -P dev migrate && scarb run gendojo && scarb run auth"
migrate_staging = "sozo -P staging migrate"
# migrate_staging = "sozo migrate --rpc-url https://api.cartridge.gg/x/ryodev/katana --account-address 0x6e857786bbd1652857d673836c41e0544d9d5ecd3e7a1bbde744e328b8cc2f6 --private-key 0x5e9d85de083b7ddd3029c44de2997ceba8384074bbebb66696a1b507f0466fc"
migrate_prod = "sozo -P prod migrate"
[profile.dev.tool.dojo.env]
rpc_url = "http://localhost:5050"
account_address = "0x6162896d1d7ab204c7ccac6dd5f8e9e7c25ecd5ae4fcb4ad32e57786bb46e03"
private_key = "0x1800000000300000180000000000030000000000003006001800006600"
# seed 420
# [profile.staging.tool.dojo.env]
# rpc_url = "https://api.cartridge.gg/x/ryodev/katana"
# account_address = "0x6e857786bbd1652857d673836c41e0544d9d5ecd3e7a1bbde744e328b8cc2f6"
# private_key = "0x5e9d85de083b7ddd3029c44de2997ceba8384074bbebb66696a1b507f0466fc"
# [profile.prod.tool.dojo.env]
# rpc_url = "https://api.cartridge.gg/x/ryo/katana"
# account_address = "0x6e857786bbd1652857d673836c41e0544d9d5ecd3e7a1bbde744e328b8cc2f6"
# private_key = "0x5e9d85de083b7ddd3029c44de2997ceba8384074bbebb66696a1b507f0466fc"
[tool.dojo.world]
name = "Roll Your Own"
description = "Onchain adaptation of the classic Drug Wars game. An immersive recreation of the 1999 TI-83 classic where street smarts reign supreme and every choice matters in the end."
website = "https://rollyourown.preview.cartridge.gg/"
icon_uri = "file://assets/icon.png"
cover_uri = "file://assets/cover.png"
socials.x = "https://x.com/TheDopeWars"