-
Notifications
You must be signed in to change notification settings - Fork 4
/
alephium.config.ts
43 lines (38 loc) · 1.08 KB
/
alephium.config.ts
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
import { Configuration } from '@alephium/cli'
// Settings are usually for configuring
export type Settings = {
issueTokenAmount: bigint
}
const defaultSettings: Settings = { issueTokenAmount: 100n }
const configuration: Configuration<Settings> = {
networks: {
devnet: {
nodeUrl: 'http://localhost:22973',
privateKeys: [
'a642942e67258589cd2b1822c631506632db5a12aabcf413604e785300d762a5', // group 0
],
settings: defaultSettings,
},
testnet: {
nodeUrl:
(process.env.NODE_URL as string) ??
'https://wallet-v20.testnet.alephium.org',
privateKeys:
process.env.PRIVATE_KEYS === undefined
? []
: process.env.PRIVATE_KEYS.split(','),
settings: defaultSettings,
},
mainnet: {
nodeUrl:
(process.env.NODE_URL as string) ??
'https://wallet-v20.mainnet.alephium.org',
privateKeys:
process.env.PRIVATE_KEYS === undefined
? []
: process.env.PRIVATE_KEYS.split(','),
settings: defaultSettings,
},
},
}
export default configuration