Created
May 27, 2020 16:54
-
-
Save rahuldamodar94/155d80e665cb43c901bdbb36f5d5794f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let { ROPSTEN_NETWORK_ID, MATIC_NETWORK_ID } = require('./constants'); | |
const ROPSTEN_CONFIGS = { | |
rpcUrl: 'https://ropsten.infura.io/v3/"INFURA API KEY", | |
networkId: ROPSTEN_NETWORK_ID, | |
chainId: ROPSTEN_NETWORK_ID, | |
}; | |
const MATIC_CONFIGS = { | |
rpcUrl: 'https://testnetv3.matic.network', | |
networkId: MATIC_NETWORK_ID, | |
chainId: MATIC_NETWORK_ID, | |
}; | |
module.exports = { | |
TX_DEFAULTS: { gas: 800000, gasPrice: 1000000000 }, | |
MNEMONIC: 'SEED WORDS', | |
BASE_DERIVATION_PATH: `44'/60'/0'/0`, | |
NETWORK_CONFIGS: MATIC_CONFIGS | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment