Skip to content

hardhat deploy with ledger #53

@nschwermann

Description

@nschwermann

I have seen your example here
NomicFoundation/hardhat#1159 (comment)

and I follow you instructions

    const frame = ethProvider('frame');
    const contractFactory = await ethers.getContractFactory("MyContract");
    const tx = await contractFactory.getDeployTransaction();

but get this:

 const tx = await this.signer.sendTransaction(unsignedTx);                              ^
TypeError: Cannot read properties of null (reading 'sendTransaction')

Also, can your example be adapter to deploy an upgradable contract?

const test = await upgrades.deployProxy(contractFactory);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions