Skip to content

Allow both .abi files an truffle artifacts when using load-contract #6

@fvictorio

Description

@fvictorio

The load-contract command requires as first argument a path to the ABI file of the contract.

It would be nice to allow using truffle artifacts files too. It shouldn't be hard: if the given file has an array, interpret it as an ABI file. If it's an object and it has an abi propery, interpret it as a truffle artifact.

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