-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathalephium.config.ts
33 lines (30 loc) · 1.19 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
import { Configuration } from '@alephium/cli'
import { configDotenv } from 'dotenv'
export type Settings = {}
configDotenv()
const configuration: Configuration<Settings> = {
networks: {
devnet: {
//Make sure the two values match what's in your devnet configuration
nodeUrl:process.env.DEVNET_NODE === undefined ? 'http://127.0.0.1:22973' : process.env.DEVNET_NODE,
networkId: 4,
privateKeys: ['615865d89812a9ea9eff3e1a8d8dead3534673f3203cb789c45c7ec7d8c2d977'],
settings: []
},
testnet:{
//Make sure the two values match what's in your devnet configuration
nodeUrl: process.env.TESTNET_NODE,
networkId: 1,
privateKeys: process.env.TESTNET_PRIVATE_KEYS === undefined ? [] : process.env.TESTNET_PRIVATE_KEYS.split(','),
settings: []
},
mainnet: {
//Make sure the two values match what's in your devnet configuration
nodeUrl: process.env.MAINNET_NODE === undefined ? 'http://localhost:12973' : process.env.MAINNET_NODE ,
networkId: 0,
privateKeys: process.env.MAINNET_PRIVATE_KEYS === undefined ? [] : process.env.MAINNET_PRIVATE_KEYS.split(','),
settings: []
}
}
}
export default configuration