-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAnchor.toml
More file actions
37 lines (27 loc) · 985 Bytes
/
Copy pathAnchor.toml
File metadata and controls
37 lines (27 loc) · 985 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
30
31
32
33
34
35
36
[toolchain]
package_manager = "yarn"
[features]
resolution = true
skip-lint = false
[programs.localnet]
staking = "8iVfFoXD5THP7XJKwSDGEyK72Basc983p8fDpzUK9brN"
[programs.devnet]
staking = "8iVfFoXD5THP7XJKwSDGEyK72Basc983p8fDpzUK9brN"
[registry]
url = "https://api.apr.dev"
# Localnet for `anchor test`: fresh ledger, no public-RPC 429s, and no stale global PDA on devnet.
# Deploy to devnet with: anchor deploy --provider.cluster devnet
[provider]
cluster = "Localnet"
wallet = "~/.config/solana/id.json"
[scripts]
test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 \"tests/**/*.ts\""
[test]
# Cloning SPL Token from devnet can take a few seconds after the validator process starts.
startup_wait = 20000
[test.validator]
url = "https://api.devnet.solana.com"
# Agave 3.x rejects 0.0.0.0 for gossip (UnspecifiedIpAddr); Anchor defaults to 0.0.0.0 without this.
bind_address = "127.0.0.1"
[[test.validator.clone]]
address = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"