Skip to content

Instantly share code, notes, and snippets.

@rahuldamodar94
Created May 27, 2020 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rahuldamodar94/155d80e665cb43c901bdbb36f5d5794f to your computer and use it in GitHub Desktop.
Save rahuldamodar94/155d80e665cb43c901bdbb36f5d5794f to your computer and use it in GitHub Desktop.
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