forked from vesuxyz/vesu-v1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathScarb.toml.template
43 lines (36 loc) · 1.66 KB
/
Scarb.toml.template
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
[package]
name = "vesu"
version = "0.1.0"
cairo-version = "=2.6.3"
edition = "2023_01"
[lib]
[[target.starknet-contract]]
casm = true
sierra = true
[dependencies]
starknet = "2.5.4"
snforge_std = { git = "https://github.com/foundry-rs/starknet-foundry", tag = "v0.21.0" }
alexandria_math = { git = "https://github.com/keep-starknet-strange/alexandria.git", rev = "e7b6957" }
[tool.fmt]
max-line-length = 120
sort-module-level-items = true
[[tool.snforge.fork]]
name = "Mainnet"
url = "MAINNET_RPC_URL"
block_id.number = "652612" # "700000"
[tool.voyager]
singleton = { path = "singleton.cairo" }
[scripts]
format = "scarb fmt && yarn prettier --write ."
checkFormat = "scarb fmt --check && yarn prettier --check ."
startDevnet = "./scripts/startDevnet.sh"
killDevnet = "lsof -t -i tcp:5050 | xargs kill"
createPool = "scarb --profile release build && node --loader ts-node/esm ./scripts/createPool.ts"
createPosition = "scarb --profile release build && node --loader ts-node/esm ./scripts/createPosition.ts"
deployDevnet = "scarb --profile release build && node --loader ts-node/esm ./scripts/deployDevnet.ts"
deployMainnet = "scarb --profile release build && node --loader ts-node/esm ./scripts/deployMainnet.ts"
deploySepolia = "scarb --profile release build && node --loader ts-node/esm ./scripts/deploySepolia.ts"
deployTimelock = "scarb --profile release build && node --loader ts-node/esm ./scripts/deployTimelock.ts"
checkGasReport = "scarb --profile release build && node --loader ts-node/esm ./scripts/gasReport.ts --check"
updateGasReport = "scarb --profile release build && node --loader ts-node/esm ./scripts/gasReport.ts --write"
test = "snforge test --max-n-steps 10000000"