-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathAnchor.toml
More file actions
29 lines (23 loc) · 1019 Bytes
/
Anchor.toml
File metadata and controls
29 lines (23 loc) · 1019 Bytes
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
[toolchain]
anchor_version = "0.31.1"
solana_version = "2.1.0"
[features]
resolution = true
skip-lint = false
[programs.localnet]
connected = "4xEw862A2SEwMjofPkUyd4NEekmVJKJsdHkK3UkAtDrc"
connected_spl = "8iUjRRhUCn8BjrvsWPfj8mguTe9L81ES4oAUApiF8JFC"
gateway = "ZETAjseVjuFsxdRxo6MmTCvqFwb3ZHUx56Co3vCmGis"
[registry]
url = "https://api.apr.dev"
[provider]
cluster = "localnet"
wallet = "~/.config/solana/id.json"
[workspace]
members = ["programs/gateway", "programs/examples/connected", "programs/examples/connectedSPL"]
[scripts]
build-examples = "anchor build --program-name connected && anchor build --program-name connected_spl"
build-gateway = "anchor build --program-name gateway"
build-gateway-dev = "anchor build --program-name gateway -- --features dev"
build-gateway-dev-upgrade-test = "anchor build --program-name gateway -- --features dev --features upgrade-test && mv target/deploy/gateway.so target/deploy/gateway_upgrade.so"
test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"