You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2019. It is now read-only.
You can get it with ethers - you just have to work a bit. This is how ethers does it itself:
deploy(...args: Array<any>): Promise<Contract>{// Get the deployment transaction (with optional overrides)
let tx=this.getDeployTransaction(...args);// Send the deployment transactionreturnthis.signer.sendTransaction(tx).then((tx)=>{constcontract=newContract(getContractAddress(tx),this.interface,this.signer);defineReadOnly(contract,'deployTransaction',tx);returncontract;});,};
In theory, the contract address is known as soon as the deploy transaction is submitted.
The text was updated successfully, but these errors were encountered: