-
When I try to deploy on the Polygon Mainnet I always getting nothing, even after waiting for 30 minutes the only result that alchemy is showing me is This is my Hardhad config:
This is my deploy script:
It's all in typescript. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Here is the TransactionHash for reference: It's like stuck forever: https://polygonscan.com/tx/0x225ebe14827540c490d1f041e6b7b88e4b296db88fa42e10395326f59ea1a77c |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Context—Ways to extract the ContractFactory via hardhat-ethers: function getContractFactory(name: string, signer?: ethers.Signer): Promise<ethers.ContractFactory>;
function getContractFactory(name: string, factoryOptions: FactoryOptions): Promise<ethers.ContractFactory>;
function getContractFactory(abi: any[], bytecode: ethers.utils.BytesLike, signer?: ethers.Signer): Promise<ethers.ContractFactory>; I would recommend using any of the above to your liking to get the ContractFactory of As much as I can see, You can then use that ContractFactory to deploy the contract. |
Beta Was this translation helpful? Give feedback.
Context—Ways to extract the ContractFactory via hardhat-ethers:
I would recommend using any of the above to your liking to get the ContractFactory of
Flashloan
As much as I can see,
Flashloan__factory
is undefined. That is precisely the error.You can then use that ContractFactory to deploy the contract.