forked from thirdweb-dev/js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.ammanrc.js
46 lines (44 loc) · 1.26 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
37
38
39
40
41
42
43
44
45
46
const path = require("path");
const MOCK_STORAGE_ID = "thirdweb-sdk";
function localDeployPath(programName) {
return path.join(__dirname, "test/solana/data", `${programName}.so`);
}
module.exports = {
validator: {
accountsCluster: "https://api.metaplex.solana.com",
accounts: [
{
label: "Candy Machine Program",
accountId: "cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ",
executable: true,
},
{
label: "Token Metadata Program",
accountId: "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s",
// marking executable as true will cause Amman to pull the executable data account as well automatically
executable: true,
},
{
label: "Token Program",
accountId: "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
executable: true,
},
],
programs: [
{
label: "Counter Program",
programId: "89RsF5yJgRXhae6LKuCcMRgXkqxCJm3AeaYwcJN4XopA",
deployPath: localDeployPath("counter"),
},
{
label: "TWRegistry Program",
programId: "twregzGdRmyFeAKjPgbPMkRkzgFNy8BHrB4HzwjyH14",
deployPath: localDeployPath("tw_registry"),
},
],
},
storage: {
storageId: MOCK_STORAGE_ID,
clearOnStart: true,
},
};