-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAnchor.toml
40 lines (31 loc) · 1.08 KB
/
Anchor.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
33
34
35
36
37
38
39
40
[toolchain]
anchor_version = "0.30.0"
solana_version = "1.18.12"
[features]
resolution = true
skip-lint = false
[programs.localnet]
pvp_battle = "PVPjBGSfMFEfQmdaWUemUjcTnLz4KcUaZjRiPsJ8JKh"
global_settings = "GSoG5Tz9LVWzLrEvLgo9q4JqJYWk2Prx9VjzrAeTzYFk"
[provider]
cluster = "localnet"
# cluster = "devnet"
# cluster = "https://mainnet.helius-rpc.com/?api-key=50f0af07-1a64-4b06-bfdd-af3811ff9e2a"
wallet = "~/.config/solana/id.json"
[scripts]
test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 -r tsconfig-paths/register tests/*.ts"
# test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 -r tsconfig-paths/register tests/raydium/test_cpmm.ts"
[test]
startup_wait = 5000
shutdown_wait = 2000
[test.validator]
url = "https://api.mainnet-beta.solana.com"
bind_address = "0.0.0.0"
ledger = ".anchor/test-ledger"
rpc_port = 8899
[[test.validator.clone]]
address = "So11111111111111111111111111111111111111112" # WSOL
[[test.validator.clone]]
address = "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB" # USDT
[[test.validator.clone]]
address = "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" # USDC