Uploads & instantiates a contract on-chain.

  • Parameters

    • api: ApiPromise
    • account: string | IKeyringPair
    • abi: any
    • wasm: string | Uint8Array | Buffer
    • constructorMethod: string = 'new'
    • args: unknown[] = ...
    • contractOptions: Partial<ContractOptions> = ...
    • signerOptions: Partial<SignerOptions> = ...

    Returns Promise<DeployedContract>