Skip to content

Commit

Permalink
Merge pull request #150 from dojoengine/update-content
Browse files Browse the repository at this point in the history
Update Config file
  • Loading branch information
gianalarcon authored Dec 16, 2023
2 parents 8ca2112 + d06dd2f commit 4448a4c
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions src/cairo/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,25 @@ Full example of a `Scarb.toml` file:

```toml
[package]
cairo-version = "2.3.0"
cairo-version = "2.4.0"
name = "dojo_examples"
version = "0.1.0"
version = "0.4.0"

[cairo]
sierra-replace-ids = true

[dependencies]
# IMPORTANT: Dojo should be pinned to a specific version or else your world might not compile
dojo = { git = "https://github.com/dojoengine/dojo", rev="v0.3.15" }
# IMPORTANT: Dojo should be pinned to a specific version or else your world might not compile.
dojo = { git = "https://github.com/dojoengine/dojo", version = "0.4.1" }

[[target.dojo]]

[tool.dojo]
initializer_class_hash = "0xbeef"

[tool.dojo.env]
# local katana devnet
rpc_url = "http://localhost:5050/"

# account address of world deployer
account_address = "0x33c627a3e5213790e246a917770ce23d7e562baa5b4d2917c23b1be6d91961c"

# private key of world deployer
private_key = "0x333803103001800039980190300d206608b0070db0012135bd1fb5f6282170b"

# world contract address
world_address = "0x789c94ef39aeebc7f8c4c4633030faefb8bee454e358ae53d06ced36136d7d6"
# Default account for katana with seed = 0
account_address = "0x517ececd29116499f4a1b64b094da79ba08dfd54a3edaa316134c41f8160973"
private_key = "0x1800000000300000180000000000030000000000003006001800006600"
```

0 comments on commit 4448a4c

Please sign in to comment.