forked from metaplex-foundation/metaplex-program-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ammanrc.js
36 lines (31 loc) · 1.14 KB
/
.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
// @ts-check
'use strict';
const path = require('path');
const localDeployDir = path.join(__dirname, 'target', 'deploy');
const programIds = {
metadata: 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s',
vault: 'vau1zxA2LbssAUEF7Gpw91zMM1LvXrvpzJtmZ58rPsn',
auction: 'auctxRXPeJoc4817jDhf4HbjnhEcr1cCXenosMhK5R8',
metaplex: 'p1exdMJcjVao65QdewkaZRUnU6VPSXhus9n2GzWfh98',
fixedPriceSaleToken: 'SaLeTjyUa5wXHnGuewUSyJ5JWZaHwz3TxqUntCE9czo',
};
function localDeployPath(programName) {
return path.join(localDeployDir, `${programName}.so`);
}
const programs = {
metadata: { programId: programIds.metadata, deployPath: localDeployPath('mpl_token_metadata') },
vault: { programId: programIds.vault, deployPath: localDeployPath('mpl_token_vault') },
auction: { programId: programIds.auction, deployPath: localDeployPath('mpl_auction') },
metaplex: { programId: programIds.metaplex, deployPath: localDeployPath('mpl_metaplex') },
fixedPriceSaleToken: {
programId: programIds.fixedPriceSaleToken,
deployPath: localDeployPath('mpl_fixed_price_sale'),
},
};
const validator = {
verifyFees: false,
};
module.exports = {
programs,
validator,
};