-
Notifications
You must be signed in to change notification settings - Fork 2
/
.ammanrc.js
41 lines (38 loc) · 1021 Bytes
/
.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
const { LOCALHOST } = require('@metaplex-foundation/amman')
const path = require('path')
const ledgerDir = path.join(__dirname, 'ledger')
const NO_GEYSER = process.env.NO_GEYSER != null
const geyserPluginConfig = NO_GEYSER
? undefined
: path.join(__dirname, 'config-local.json')
const DEVNET = process.env.IF_HELIUS_DEV ?? 'https://api.devnet.solana.com'
const SOLANAX_PROGRAM = 'SoLXmnP9JvL6vJ7TN1VqtTxqsc2izmPfF9CsMDEuRzJ'
module.exports = {
validator: {
killRunningValidators: true,
accountsCluster: DEVNET,
accounts: [
{
label: 'Solanax Program',
accountId: SOLANAX_PROGRAM,
executable: true,
},
],
jsonRpcUrl: LOCALHOST,
websocketUrl: '',
commitment: 'confirmed',
ledgerDir,
resetLedger: true,
verifyFees: false,
detached: process.env.CI != null,
limitLedgerSize: 100000,
geyserPluginConfig,
},
relay: {
enabled: process.env.CI == null,
killlRunningRelay: true,
},
storage: {
enabled: false,
},
}