@matterlabs/hardhat-zksync-deploy
Version:
Hardhat plugin to deploy smart contracts into the ZKsync network
10 lines (8 loc) • 339 B
text/typescript
import * as zk from 'zksync-ethers';
import { ZkSyncArtifact } from './types';
export interface AbstractDeployer {
deploy(...args: any[]): Promise<zk.Contract>;
estimateDeployFee(...args: any[]): Promise<bigint>;
estimateDeployGas(...args: any[]): Promise<bigint>;
loadArtifact(...args: any[]): Promise<ZkSyncArtifact>;
}