-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathScarb.toml
More file actions
37 lines (31 loc) · 1.55 KB
/
Scarb.toml
File metadata and controls
37 lines (31 loc) · 1.55 KB
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
[package]
name = "chainlink"
version = "0.1.0"
cairo-version = "2.9.2"
description = "Chainlink contracts for Starknet"
homepage = "https://github.com/smartcontractkit/chainlink-starknet"
[scripts]
sierra = "cairo-compile . -r"
test = "snforge test"
# Add your own custom commands and run them with scarb run <command>
# Uncomment if you want to use dependencies
# Note: currently testing doesn't work with dependencies
[dependencies]
starknet = "2.9.2"
openzeppelin = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", tag = "v0.20.0" }
alexandria_bytes = { git = "https://github.com/keep-starknet-strange/alexandria.git", rev = "162bed1c636d31ccaaa90ed3eb32c9eb1d5e3bd3" }
alexandria_encoding = { git = "https://github.com/keep-starknet-strange/alexandria.git", rev = "162bed1c636d31ccaaa90ed3eb32c9eb1d5e3bd3" }
[dev-dependencies]
alexandria_math = { git = "https://github.com/keep-starknet-strange/alexandria.git", rev = "162bed1c636d31ccaaa90ed3eb32c9eb1d5e3bd3" }
snforge_std = { git = "https://github.com/foundry-rs/starknet-foundry.git", tag = "v0.31.0" }
[lib]
[[target.starknet-contract]]
sierra = true
casm = true
# pythonic hints are necessary for cairo-lang to parse the casm file:
# Unsupported compiled class format. Cairo 1.0 compiled class must contain the attribute `pythonic_hints`.
casm-add-pythonic-hints = true
# this elevates the severity of disallowed libfuncs to compilation errors
# https://docs.swmansion.com/scarb/docs/starknet/contract-target#allowed-libfuncs-validation
allowed-libfuncs-deny = true
allowed-libfuncs-list.name = "audited"