• Mark Tyneway's avatar
    contracts-governance: allow deploy by ledger · 856a02b4
    Mark Tyneway authored
    Adds the config for using a ledger with hardhat
    deploy. The env var `LEDGER_ADDRESS` must be
    set for this to work.
    
    Note that hh deploy is buggy and will always
    use the default path when creating a `LedgerSigner`.
    This means the `LEDGER_ADDRESS` env var is useless,
    it won't actually use that address when doing a
    deployment. Basically, if its set then it just means
    use the ledger's first derived address at the default
    path.
    
    This should be an easy thing to fix upstream, although
    kind of annoying. The paths would need to be searched
    linearly until a matching address is found, I think
    a better way to configure this is pass either:
    
    - A path + address
    - A path
    
    If both are passed, then it should validate that the
    path matches the address. If a path is passed, then
    yolo use the derived account.
    856a02b4
Name
Last commit
Last update
.changeset Loading commit data...
.circleci Loading commit data...
.github Loading commit data...
.husky Loading commit data...
.vscode Loading commit data...
.yarn/releases Loading commit data...
batch-submitter Loading commit data...
bss-core Loading commit data...
endpoint-monitor Loading commit data...
gas-oracle Loading commit data...
indexer Loading commit data...
infra/op-replica Loading commit data...
integration-tests Loading commit data...
l2geth Loading commit data...
l2geth-exporter Loading commit data...
op-batcher Loading commit data...
op-bindings Loading commit data...
op-chain-ops Loading commit data...
op-e2e Loading commit data...
op-exporter Loading commit data...
op-node Loading commit data...
op-proposer Loading commit data...
op-service Loading commit data...
ops Loading commit data...
ops-bedrock Loading commit data...
packages Loading commit data...
patches Loading commit data...
proxyd Loading commit data...
specs Loading commit data...
technical-documents Loading commit data...
teleportr Loading commit data...
.dockerignore Loading commit data...
.editorconfig Loading commit data...
.eslintrc.js Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.markdownlint.json Loading commit data...
.nvmrc Loading commit data...
.prettierrc.js Loading commit data...
.semgrepignore Loading commit data...
.yarnrc Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
cloudbuild.yaml Loading commit data...
codecov.yml Loading commit data...
go.work Loading commit data...
go.work.sum Loading commit data...
lerna.json Loading commit data...
package.json Loading commit data...
tsconfig.json Loading commit data...
yarn.lock Loading commit data...