Skip to content

Implement a command that allow to bootstrap the contract infrastructure on multiple chain #2

@lumtis

Description

@lumtis

Implement a command:

bootstrap --config config.yml

that will setup an entire contract infrastructure for Speedrun on a list of chains.

The config should contains the following info:

  • ZetaChain chain id and rpc
  • Connected EVM chains chain id and rpc
  • List of tokens associations and everything to configure the router and intent contracts. Speedrun rely on tokens whitelisted on ZetaChain, eventually more tokens need to be whitelist with the localnet https://github.com/zeta-chain/localnet/issues

What does the script do:

  • Deploy router and intent on every chains
  • Call the admin function to create the right configuration for routing intent settlements

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions