Open avious00 opened 7 months ago
https://github.com/hyperlane-xyz/hyperlane-monorepo/issues/3317 might be a dupe of this epic
kinda related - a thread on how to use RPC URL secrets in the warp UI https://discord.com/channels/935678348330434570/935678739663192184/1250460560584081511
At the moment, internal management of contracts is done almost entirely within
infra
or the SDK. This can be broken into 3 pieces:This epic tracks an intermediate step toward migrating these to more appropriate homes. For the initial imgration, the plan is:
infra
infra
Rather than running
deploy.ts
ininfra
where all the magic behind the scenes interacts with 1, 2, and 3, instead we'll "stitch" infra together with the CLI.Infra will continue to house secret management and config generation, but this will be serialized and used with the CLI. The resulting experience will be something close to:
Where the infra script
ism-config.ts
will output secrets (e.g. deployer key & RPC URLs) and the ISM config, and the CLI takes this in via stdin.