forked from metaplex-foundation/metaplex-program-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.base-ammanrc.js
63 lines (58 loc) · 1.69 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, 'target', 'deploy');
const {LOCALHOST, tmpLedgerDir} = require('@metaplex-foundation/amman');
function localDeployPath(programName) {
return path.join(localDeployDir, `${programName}.so`);
}
const programs = {
metadata: {
label: "Metadata",
programId: 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s',
deployPath: localDeployPath('mpl_token_metadata')
},
vault: {
label: "Vault",
programId: 'vau1zxA2LbssAUEF7Gpw91zMM1LvXrvpzJtmZ58rPsn',
deployPath: localDeployPath('mpl_token_vault')
},
auction: {
label: "Auction",
programId: 'auctxRXPeJoc4817jDhf4HbjnhEcr1cCXenosMhK5R8',
deployPath: localDeployPath('mpl_auction')
},
metaplex: {
label: "Metaplex",
programId: 'p1exdMJcjVao65QdewkaZRUnU6VPSXhus9n2GzWfh98',
deployPath: localDeployPath('mpl_metaplex')
},
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'),
},
};
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,
},
};