-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathtest-environment.config.js
25 lines (22 loc) · 1.12 KB
/
test-environment.config.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
require('dotenv').config();
module.exports = {
accounts: {
amount: 10, // Number of unlocked accounts
ether: 100, // Initial balance of unlocked accounts (in ether)
},
contracts: {
type: 'truffle', // Contract abstraction to use: 'truffle' for @truffle/contract or 'web3' for web3-eth-contract
// defaultGas: 6e6, // Maximum gas for contract calls (when unspecified)
// Options available since v0.1.2
// defaultGasPrice: 20e9, // Gas price for contract calls (when unspecified)
artifactsDir: 'build/contracts', // Directory where contract artifacts are stored
},
node: { // Options passed directly to Ganache client
// gasLimit: 8e6, // Maximum gas per block
// gasPrice: 20e9, // Sets the default gas price for transactions if not otherwise specified.
fork: process.env.ARCHIVE_NODE_FORK, // An url to Ethereum node to use as a source for a fork
unlocked_accounts: [
'0x94bfE225859347f2B2dd7EB8CBF35B84b4e8Df69' // BSC mainnet fee getter
], // Array of addresses specifying which accounts should be unlocked.
},
};