Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
ponderingdemocritus committed Dec 2, 2024
2 parents 1c844b4 + a63c83f commit 94db5ca
Show file tree
Hide file tree
Showing 107 changed files with 9,758 additions and 1,322 deletions.
29 changes: 27 additions & 2 deletions Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
version = 1

[[package]]
name = "arcade_registry"
name = "achievement"
version = "0.0.0"
dependencies = [
"dojo",
"dojo_cairo_test",
]

[[package]]
name = "arcade_trophy"
name = "controller"
version = "0.0.0"
dependencies = [
"dojo",
Expand All @@ -37,3 +37,28 @@ dependencies = [
name = "dojo_plugin"
version = "2.8.4"
source = "git+https://github.com/dojoengine/dojo?tag=v1.0.3#c65c25788d900325fa5e6e9d464da633cfabc468"

[[package]]
name = "provider"
version = "0.0.0"
dependencies = [
"dojo",
"dojo_cairo_test",
]

[[package]]
name = "registry"
version = "0.0.0"
dependencies = [
"dojo",
"dojo_cairo_test",
]

[[package]]
name = "society"
version = "0.0.0"
dependencies = [
"dojo",
"dojo_cairo_test",
"registry",
]
8 changes: 7 additions & 1 deletion Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
[workspace]
members = ["packages/trophy", "packages/registry"]
members = [
"packages/controller",
"packages/provider",
"packages/registry",
"packages/society",
"packages/achievement",
]
description = "Dojo achievement library"
homepage = "https://github.com/cartridge-gg/arcade/"
cairo-version = "2.8.4"
Expand Down
49 changes: 41 additions & 8 deletions contracts/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,71 @@
version = 1

[[package]]
name = "arcade_registry"
name = "achievement"
version = "0.0.0"
dependencies = [
"dojo",
]

[[package]]
name = "arcade"
version = "0.0.0"
dependencies = [
"achievement",
"controller",
"dojo",
"dojo_cairo_test",
"provider",
"registry",
"society",
]

[[package]]
name = "controller"
version = "0.0.0"
dependencies = [
"dojo",
]

[[package]]
name = "dojo"
version = "1.0.0"
source = "git+https://github.com/dojoengine/dojo?tag=v1.0.0#74280d48fa2828095331487dede59f9b2e378cd3"
version = "1.0.1"
source = "git+https://github.com/dojoengine/dojo?tag=v1.0.1#d7335e6f5c76a1dda887ec00c594c2c019b4a05f"
dependencies = [
"dojo_plugin",
]

[[package]]
name = "dojo_cairo_test"
version = "1.0.0-rc.0"
source = "git+https://github.com/dojoengine/dojo?tag=v1.0.0#74280d48fa2828095331487dede59f9b2e378cd3"
source = "git+https://github.com/dojoengine/dojo?tag=v1.0.1#d7335e6f5c76a1dda887ec00c594c2c019b4a05f"
dependencies = [
"dojo",
]

[[package]]
name = "dojo_plugin"
version = "2.8.4"
source = "git+https://github.com/dojoengine/dojo?tag=v1.0.0#74280d48fa2828095331487dede59f9b2e378cd3"
source = "git+https://github.com/dojoengine/dojo?tag=v1.0.1#d7335e6f5c76a1dda887ec00c594c2c019b4a05f"

[[package]]
name = "game_center"
name = "provider"
version = "0.0.0"
dependencies = [
"arcade_registry",
"dojo",
"dojo_cairo_test",
]

[[package]]
name = "registry"
version = "0.0.0"
dependencies = [
"dojo",
]

[[package]]
name = "society"
version = "0.0.0"
dependencies = [
"dojo",
"registry",
]
25 changes: 21 additions & 4 deletions contracts/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
cairo-version = "2.8.4"
name = "game_center"
name = "arcade"
version = "0.0.0"

[cairo]
Expand All @@ -11,7 +11,11 @@ dev = "sozo clean && sozo build --typescript && sozo migrate plan && sozo migrat

[dependencies]
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.3" }
arcade_registry = { path = ".." }
achievement = { path = ".." }
controller = { path = ".." }
provider = { path = ".." }
registry = { path = ".." }
society = { path = ".." }
starknet = "2.8.4"
cairo_test = "2.8.4"

Expand All @@ -21,8 +25,21 @@ dojo_cairo_test = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.3" }
[[target.starknet-contract]]
build-external-contracts = [
"dojo::world::world_contract::world",
"arcade_registry::models::index::m_Game",
"arcade_registry::models::index::m_Achievement",
"achievement::events::index::e_TrophyPinning",
"controller::models::index::m_Account",
"controller::models::index::m_Controller",
"controller::models::index::m_Signer",
"provider::models::index::m_Deployment",
"provider::models::index::m_Factory",
"provider::models::index::m_Team",
"provider::models::index::m_Teammate",
"registry::models::index::m_Access",
"registry::models::index::m_Achievement",
"registry::models::index::m_Game",
"society::models::index::m_Alliance",
"society::models::index::m_Guild",
"society::models::index::m_Member",
"society::events::index::e_Follow",
]

[profile.slot]
17 changes: 14 additions & 3 deletions contracts/dojo_dev.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[world]
name = "Cartridge World"
description = "Cartridge World Achievements"
description = "Cartridge World"
website = "https://github.com/dojoengine/dojo-starter"
seed = "arcade"

Expand All @@ -11,10 +11,21 @@ github = "https://github.com/dojoengine/dojo-starter"
telegram = "https://t.me/dojoengine"

[namespace]
default = "game_center"
default = "ARCADE"

[init_call_args]
"ARCADE-Registry" = [
"0x6677fe62ee39c7b07401f754138502bab7fac99d2d3c5d37df7d1c6fab10819",
]

[writers]
"game_center" = ["game_center-Actions"]
"ARCADE" = [
"ARCADE-Registry",
"ARCADE-Slot",
"ARCADE-Society",
"ARCADE-Pinner",
"ARCADE-Wallet",
]

[env]
rpc_url = "http://localhost:5050/"
Expand Down
21 changes: 16 additions & 5 deletions contracts/dojo_slot.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[world]
name = "Cartridge World"
description = "Cartridge World Achievements"
description = "Cartridge World"
website = "https://github.com/dojoengine/dojo-starter"
seed = "arcade"

Expand All @@ -11,12 +11,23 @@ github = "https://github.com/dojoengine/dojo-starter"
telegram = "https://t.me/dojoengine"

[namespace]
default = "game_center"
default = "ARCADE"

[init_call_args]
"ARCADE-Registry" = [
"0x6677fe62ee39c7b07401f754138502bab7fac99d2d3c5d37df7d1c6fab10819",
]

[writers]
"game_center" = ["game_center-Actions"]
"ARCADE" = [
"ARCADE-Registry",
"ARCADE-Slot",
"ARCADE-Society",
"ARCADE-Pinner",
"ARCADE-Wallet",
]

[env]
rpc_url = "https://api.cartridge.gg/x/arcade/katana"
account_address = "0x79e1341bc8e27b2ae2544fe902f0c9e723cfba8e37c47371d90385cc17265cc"
private_key = "0x506a3b48830c89357283236d8724f68d014d681499b2256e7589c950a4198c5"
account_address = "0x6677fe62ee39c7b07401f754138502bab7fac99d2d3c5d37df7d1c6fab10819"
private_key = "0x3e3979c1ed728490308054fe357a9f49cf67f80f9721f44cc57235129e090f4"
9 changes: 9 additions & 0 deletions contracts/katana_dev.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[server]
http_addr = "0.0.0.0"
http_port = 5050
http_cors_origins = ["*"]

[dev]
seed = "0"
dev = true
no_fee = true
7 changes: 7 additions & 0 deletions contracts/katana_slot.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[server]
http_cors_origins = ["*"]

[dev]
seed = "0"
dev = true
no_fee = true
Loading

0 comments on commit 94db5ca

Please sign in to comment.