Skip to content

Deployment of contracts  #13

@0xsarvesh

Description

@0xsarvesh

#12 Generates the interacts using typechain package. This interact doesn't have deploy method.

Generated interacts are extended from web3.eth.Contracts class which has deploy method. Theoretically, deploy should be available to the interact.

  1. This ticket is about finding if the deploy method can be used to deploy interacts by using web3 types and implementing it.

  2. If the deploy method can't be used, research how other projects are deploying contracts using type chain. Select and implement the best approach.

If nothing works, then write a simple utility to deploy contracts.

References:
https://www.npmjs.com/package/@types/web3
https://www.npmjs.com/package/web3-typescript-typings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions