-
Notifications
You must be signed in to change notification settings - Fork 22
/
Anchor.toml
30 lines (23 loc) · 1.28 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
[programs.devnet]
doorman = "D8bTW1sgKaSki1TBUwxarPySLp3TNVgB2bwRVbbTLYeV"
[programs.localnet]
doorman = "D8bTW1sgKaSki1TBUwxarPySLp3TNVgB2bwRVbbTLYeV"
[programs.mainnet]
doorman = "D8bTW1sgKaSki1TBUwxarPySLp3TNVgB2bwRVbbTLYeV"
[registry]
url = "https://anchor.projectserum.com"
[provider]
cluster = "devnet"
#cluster = "localnet"
wallet = "~/.config/solana/id.json"
#wallet = "~/.config/solana/id2.json"
[scripts]
test = "mocha -t 1000000 tests/"
### for doorman interactions
initialize = "node -r dotenv/config scripts/initialize.js dotenv_config_path=./app/.env" # for initializing a doorman
show-config = "node -r dotenv/config scripts/show_config.js dotenv_config_path=./app/.env" # just print the doorman config
update-config = "node -r dotenv/config scripts/update_config.js dotenv_config_path=./app/.env" # update doorman config
test-purchase = "node -r dotenv/config scripts/test_purchase.js dotenv_config_path=./app/.env" # test a mint token purchase
add-addresses = "node -r dotenv/config scripts/add_addresses.js dotenv_config_path=./app/.env" # add an address
### for candymachine interactions
cm-update-config = "node -r dotenv/config scripts/cm_update_config.js dotenv_config_path=./app/.env" # update candymachine config