Commit 15999ac1 authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub

Merge pull request #3673 from ethereum-optimism/ctg/deploy-ledger

contracts-governance: allow deploy by ledger
parents 57b7e708 856a02b4
import dotenv from 'dotenv' import dotenv from 'dotenv'
import { HardhatUserConfig } from 'hardhat/config' import { HardhatUserConfig } from 'hardhat/config'
import { getenv } from '@eth-optimism/core-utils'
import '@nomiclabs/hardhat-ethers' import '@nomiclabs/hardhat-ethers'
import '@nomiclabs/hardhat-etherscan' import '@nomiclabs/hardhat-etherscan'
import '@nomiclabs/hardhat-waffle' import '@nomiclabs/hardhat-waffle'
import 'hardhat-gas-reporter' import 'hardhat-gas-reporter'
import 'solidity-coverage' import 'solidity-coverage'
import '@eth-optimism/hardhat-deploy-config' import '@eth-optimism/hardhat-deploy-config'
import 'hardhat-deploy'
import './scripts/deploy-token' import './scripts/deploy-token'
import './scripts/multi-send' import './scripts/multi-send'
...@@ -76,6 +78,14 @@ const config: HardhatUserConfig = { ...@@ -76,6 +78,14 @@ const config: HardhatUserConfig = {
etherscan: { etherscan: {
apiKey: process.env.ETHERSCAN_API_KEY, apiKey: process.env.ETHERSCAN_API_KEY,
}, },
namedAccounts: {
deployer: {
default: getenv('LEDGER_ADDRESS')
? `ledger://${getenv('LEDGER_ADDRESS')}`
: 0,
hardhat: 0,
},
},
} }
export default config export default config
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment