Skip to content

feat(cast): Add --create2 flag to cast send #6095

Open
@rdubois-crypto

Description

@rdubois-crypto

Component

Cast

Describe the feature you would like

Be able to deploy contracts from a raw hex string at a deterministic address.

proposed format

cast send --create2 $BYTECODE

Additional context

This feature could be of interest to use the extcodecopy memory access trick (push a raw contract containing data to access), while enabling a user to have the same deployed address on all chains.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions