polytope-labs / hyperbridge

Hyperbridge is a hyperscalable coprocessor for verifiable, cross-chain interoperability
https://docs.hyperbridge.network/
Apache License 2.0
110 stars 33 forks source link

Introduce the `TokenGovernor` #241

Closed seunlanlege closed 3 months ago

seunlanlege commented 3 months ago

The TokenGovernor provides the interface for registering multi-chain native (ERC6160) assets on hyperbridge, so they can created and added to the TokenGateway contracts on it's connected chains. This PR also introduces the TokenRegistrar which allows for collecting registration fees on any chain, so that the asset metadata can be provided to the hyperbridge chain as an unsigned extrinsic