forked from metaplex-foundation/metaplex-program-library
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.base-ammanrc.js
63 lines (58 loc) · 1.6 KB
/
.base-ammanrc.js
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// @ts-check
'use strict';
const path = require('path');
const localDeployDir = path.join(__dirname, 'test-programs');
const { LOCALHOST, tmpLedgerDir } = require('@j0nnyboi/amman');
function localDeployPath(programName) {
return path.join(localDeployDir, `${programName}.so`);
}
const programs = {
metadata: {
label: 'Metadata',
programId: 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s',
deployPath: localDeployPath('lpl_token_metadata'),
},
token_sale: {
label: 'Fixed Price Token Sale',
programId: 'SaLeTjyUa5wXHnGuewUSyJ5JWZaHwz3TxqUntCE9czo',
deployPath: localDeployPath('mpl_fixed_price_sale'),
},
candy_machine: {
label: 'Candy Machine',
programId: 'cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ',
deployPath: localDeployPath('mpl_candy_machine'),
},
hydra: {
label: 'Hydra',
programId: 'hyDQ4Nz1eYyegS6JfenyKwKzYxRsCWCriYSAjtzP4Vg',
deployPath: localDeployPath('mpl_hydra'),
},
candy_machine_core: {
label: 'Candy Machine Core',
programId: 'CndyV3LdqHUfDLmE5naZjVN8rBZz4tqhdefbAnjHG3JR',
deployPath: localDeployPath('mpl_candy_machine_core'),
},
token_auth_rules: {
label: 'Token Auth Rules',
programId: 'auth9SigNpDKz4sJJ1DfCTuZrZNSAgh9sFD3rboVmgg',
deployPath: localDeployPath('lpl_token_auth_rules'),
},
};
const validator = {
killRunningValidators: true,
programs,
commitment: 'singleGossip',
resetLedger: true,
verifyFees: false,
jsonRpcUrl: LOCALHOST,
websocketUrl: '',
ledgerDir: tmpLedgerDir(),
};
module.exports = {
programs,
validator,
relay: {
enabled: true,
killRunningRelay: true,
},
};