Skip to content

Unify chainParams, signer, and observers lifecycle #2519

@swift1337

Description

@swift1337

Currently we have lots of hardcoded places for each chain type:

type AppContext struct {
	chainsEnabled      []chains.Chain
	evmChainParams     map[int64]*observertypes.ChainParams
	bitcoinChainParams *observertypes.ChainParams
	solanaChainParams  *observertypes.ChainParams

        // ...
}

We should have a generic way of recording, registering, (de)provisioning chains, observers, and signers for zetaclient. Orchestrator should not be aware of concrete implementation.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions