-
Notifications
You must be signed in to change notification settings - Fork 24
/
Scarb.toml
67 lines (54 loc) · 3.09 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[package]
cairo-version = "=2.8.4"
name = "rollyourown"
version = "0.1.0"
[cairo]
# sierra-replace-ids = true
[tool.fmt]
sort-module-level-items = true
max-line-length = 100
tab-size = 4
[[target.starknet-contract]]
build-external-contracts = [
"dojo::world::world_contract::world",
"bushido_trophy::events::index::e_TrophyCreation",
"bushido_trophy::events::index::e_TrophyProgression",
]
[dev-dependencies]
cairo_test = "2.8.4"
[dependencies]
starknet = "2.8.4"
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.0-rc.2" }
cartridge_vrf = { git = "https://github.com/cartridge-gg/vrf" }
bushido_trophy = { git = "https://github.com/cartridge-gg/bushido", branch = "bump_version_rc2" }
# bushido_trophy = { git = "https://github.com/cartridge-gg/bushido" }
# dojo = { path = "../dojo/crates/dojo/core" }
[scripts]
katana = "katana --config ./katana_dev.toml"
torii = "torii --config ./torii_dev.toml"
# common
copy_manifest = "./scripts/copy_manifest.sh"
gendojo = "./scripts/gen.sh"
auth = "./scripts/auth.sh"
# migrate && scarb run gendojo $PROFILE
migrate = "PROFILE=dev && sozo -P $PROFILE build && sozo -P $PROFILE migrate -vvv && scarb run copy_manifest $PROFILE && scarb run gendojo $PROFILE && scarb run auth $PROFILE && sozo -P $PROFILE inspect"
migrate_ryo1 = "PROFILE=ryo1 && sozo -P $PROFILE build && sozo -P $PROFILE migrate -vvv && scarb run copy_manifest $PROFILE && scarb run auth $PROFILE && sozo -P $PROFILE inspect"
migrate_ryo2 = "PROFILE=ryo2 && sozo -P $PROFILE build && sozo -P $PROFILE migrate -vvv && scarb run copy_manifest $PROFILE && scarb run auth $PROFILE && sozo -P $PROFILE inspect"
migrate_ryosepolia_controller = "PROFILE=ryosepolia && sozo -P $PROFILE build && sozo -P $PROFILE migrate --slot.controller -vvv && scarb run copy_manifest $PROFILE && scarb run auth $PROFILE && sozo -P $PROFILE inspect"
migrate_ryosepolia = "PROFILE=ryosepolia && sozo -P $PROFILE build && sozo -P $PROFILE migrate --fee eth --fee-estimate-multiplier 2 --keystore ../../../sozo_acc -vvv && scarb run copy_manifest $PROFILE && scarb run auth $PROFILE && sozo -P $PROFILE inspect"
migrate_ryomainnet = "PROFILE=mainnet && sozo -P $PROFILE build && sozo -P $PROFILE migrate --fee eth --fee-estimate-multiplier 2 --keystore ../../../dopewars_key -vvv && scarb run copy_manifest $PROFILE && scarb run auth $PROFILE && sozo -P $PROFILE inspect"
# slot ryo1
slot_ryo1_katana = "slot d create ryo1 katana -v v1.0.0-rc.2 --config-file ./katana_ryo1.toml"
slot_ryo1_torii = "slot d create ryo1 torii -v v1.0.0-rc.2 --config-file ./torii_ryo1.toml"
# slot ryo2
slot_ryo2_katana = "slot d create ryo2 katana -v v1.0.0-rc.2 --config-file ./katana_ryo2.toml --dev --accounts 10"
slot_ryo2_torii = "slot d create ryo2 torii -v v1.0.0-rc.2 --config-file ./torii_ryo2.toml"
# slot ryosepolia
slot_ryosepolia_torii = "slot d create ryosepolia2 torii -v v1.0.0-rc.2 --config-file ./torii_ryosepolia2.toml"
# slot ryomainnet
slot_ryomainnet_torii = "slot d create --tier rare ryomainnet torii -v v1.0.5 --config ./torii_mainnet.toml"
[profile.ryo1]
[profile.ryo2]
[profile.internal]
[profile.ryosepolia]
[profile.mainnet]