Skip to content

EVM: Provide a way to deploy native actors with Ethereum addresses #975

@Stebalien

Description

@Stebalien

Currently, all native actors will have "ID-in-Ethereum" address (0xff00.....ID) but won't have a proper stable Ethereum address.

Proposal: Add a create_native method to the EAM that behaves like create2 but creates a native actor instead.

Specifically, it:

  1. Computes the address based on the caller, CID, and constructor params.
  2. Calls Init::exec4 with the specified params.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions