Skip to content

Validate/Apply Plan CLI #4

@fubuloubu

Description

@fubuloubu

Describe

I want to have a simple, config-driven method of deploying a system on multiple chains at deterministic locations using CreateX-py's cli

Specification

pyproject.toml:

# NOTE: Name from current project that `createx plan ...` commands are executed in
[tool.createx.plan."ContractName"]
# NOTE: **Must** create this address, or plan will fail
address = "0x..."
# NOTE: Salt is optional, can be used to craft vanity addresses via `createx mine ...`
# salt = "0x..."
# NOTE: All plans are executed with `--no-sender-protection` and `--no-redeploy-protection`
args = [ ... ]  # NOTE: All args must be strings
# Command to check that all contracts deploy to the proper locations using plan
# NOTE: `--network` and `--account` are optional for this command
$ createx plan validate  # --network ... --account TEST::0

# Command to actually perform the deployment using plan
# NOTE: `--network` and `--account` are mandatory for this command
$ createx plan apply --network ... --account ...

Dependencies

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions