Skip to content

Encouraging people to use latest deploy method rather than deprecated method #65

@SainathEbitwar

Description

@SainathEbitwar

While going through the web3j docs in most of the places below deploy method is used.

YourSmartContract contract = YourSmartContract.deploy(
        <web3j>, <credentials>,
        GAS_PRICE, GAS_LIMIT,
        <param1>, ..., <paramN>).send();  // constructor params

This method is deprecated in latest web3j library and instead of this we should use below method is docs.

YourSmartContract contract = YourSmartContract.deploy(
        <web3j>, <credentials>,
        <contractGasProvider>,
        <param1>, ..., <paramN>).send();  // constructor params

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