Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hardhat-create-app

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hardhat-create-app - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

files/deploy/1_lock.ts

76

bin/hardhat-create-app.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc