hardhat-create-app
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -86,2 +86,6 @@ #!/usr/bin/env node | ||
// Remove the default deploy script | ||
console.log('Removing the default deploy script...'); | ||
spawnSync('rm', ['scripts/deploy.ts'], { stdio: 'inherit' }); | ||
// Edit the hardhat.config.ts | ||
@@ -94,38 +98,38 @@ console.log('Editing the hardhat.config.ts...'); | ||
` | ||
networks: { | ||
hardhat: { | ||
forking: { | ||
url: nodeUrl('matic') ?? '', | ||
blockNumber: 37377259, // Latest as of 28.12.2022 | ||
}, | ||
}, | ||
matic: { | ||
url: nodeUrl('matic'), | ||
accounts: accounts('matic'), | ||
}, | ||
mumbai: { | ||
url: nodeUrl('mumbai'), | ||
accounts: accounts('mumbai'), | ||
}, | ||
rinkeby: { | ||
url: nodeUrl('rinkeby'), | ||
accounts: accounts('rinkeby'), | ||
}, | ||
}, | ||
gasReporter: { | ||
enabled: process.env.REPORT_GAS !== undefined, | ||
currency: 'USD', | ||
token: 'MATIC', | ||
gasPriceApi: | ||
'https://api.polygonscan.com/api?module=proxy&action=eth_gasPrice', | ||
coinmarketcap: process.env.COINMARKETCAP_API_KEY, | ||
}, | ||
etherscan: { | ||
apiKey: { | ||
mainnet: process.env.ETHERSCAN_API_KEY || '', | ||
rinkeby: process.env.ETHERSCAN_API_KEY || '', | ||
polygon: process.env.POLYGONSCAN_API_KEY || '', | ||
polygonMumbai: process.env.POLYGONSCAN_API_KEY || '', | ||
}, | ||
}, | ||
// networks: { | ||
// hardhat: { | ||
// forking: { | ||
// url: nodeUrl('matic') ?? '', | ||
// blockNumber: 37377259, // Latest as of 28.12.2022 | ||
// }, | ||
// }, | ||
// matic: { | ||
// url: nodeUrl('matic'), | ||
// accounts: accounts('matic'), | ||
// }, | ||
// mumbai: { | ||
// url: nodeUrl('mumbai'), | ||
// accounts: accounts('mumbai'), | ||
// }, | ||
// rinkeby: { | ||
// url: nodeUrl('rinkeby'), | ||
// accounts: accounts('rinkeby'), | ||
// }, | ||
// }, | ||
// gasReporter: { | ||
// enabled: process.env.REPORT_GAS !== undefined, | ||
// currency: 'USD', | ||
// token: 'MATIC', | ||
// gasPriceApi: | ||
// 'https://api.polygonscan.com/api?module=proxy&action=eth_gasPrice', | ||
// coinmarketcap: process.env.COINMARKETCAP_API_KEY, | ||
// }, | ||
// etherscan: { | ||
// apiKey: { | ||
// mainnet: process.env.ETHERSCAN_API_KEY || '', | ||
// rinkeby: process.env.ETHERSCAN_API_KEY || '', | ||
// polygon: process.env.POLYGONSCAN_API_KEY || '', | ||
// polygonMumbai: process.env.POLYGONSCAN_API_KEY || '', | ||
// }, | ||
// }, | ||
mocha: { | ||
@@ -132,0 +136,0 @@ timeout: 0, |
{ | ||
"name": "hardhat-create-app", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10934
19
365