-
Notifications
You must be signed in to change notification settings - Fork 9
/
Scarb.toml
32 lines (27 loc) · 1.18 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
[workspace]
members = [
"packages/*",
]
[workspace.package]
version = "0.1.0"
cairo-version = "2.6.2"
[workspace.dependencies]
cairo_test = "2.7.0"
# [package]
# name = "cairo_pairing" # the name of the package
# version = "0.1.0" # the current version, obeying semver
# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html
[scripts]
new = "scarb new --no-vcs"
addchain_gen_t = "addchain gen -tmpl addchain/tpl addchain/t"
contracts = "scarb build -p bn_contracts"
# Declares class for the contract
ktn_declare = "starkli declare target/dev/bn254_u256_contract_BN_Pairing.contract_class.json"
# Deploys the contract for input classhash
ktn_deploy = "starkli deploy --account katana --rpc=http://localhost:5050"
# Invokes final_exponentiation_bench on input contract address
ktn_expo = "starkli invoke final_exponentiation_bench --account katana --rpc=http://localhost:5050"
# Invokes miller_bench on input contract address
ktn_miller = "starkli invoke miller_bench --account katana --rpc=http://localhost:5050"
# Invokes pairing_bench on input contract address
ktn_pair = "starkli invoke pairing_bench --account katana --rpc=http://localhost:5050"