The project contains a generic "endorser registry" at /registry/registry.go. This endorser registry determines if any endorser should be trusted or not.
Right now, there are two possible sources of information for this registry:
1) Statically trusted endorsers
These endorsers are defined in the configuration and are always trusted. This is directly implemented within the endorser registry.
2) Contract sources
These are contracts that determine if an endorser has "burned" or not.
For quick testing, these validations can be bypassed by (a) adding any wanted endorsers to the list of trusted endorsers or by (b) setting the min_reputation of the registry configuration to zero.
ERC-5189 defines that the endorser registry should be a "burn eth" operation. Given the early stages of development of this ERC, I would recommend allowing a "lighter" version of this mechanic, an endorser registry that instead of burning, enforces that some ETH has been locked for X amount of time. A sample implementation of this can be found at /contracts/src/TemporalRegistry.sol.
This temporal registry should be easy to integrate using the "contract sources" of the endorser registry.
This contract hasn't been deployed and integrated with the rest of the bundler yet.
The project contains a generic "endorser registry" at
/registry/registry.go
. This endorser registry determines if any endorser should be trusted or not.Right now, there are two possible sources of information for this registry:
1) Statically trusted endorsers
2) Contract sources
For quick testing, these validations can be bypassed by (a) adding any wanted endorsers to the list of trusted endorsers or by (b) setting the
min_reputation
of the registry configuration to zero.ERC-5189 defines that the endorser registry should be a "burn eth" operation. Given the early stages of development of this ERC, I would recommend allowing a "lighter" version of this mechanic, an endorser registry that instead of burning, enforces that some ETH has been locked for X amount of time. A sample implementation of this can be found at
/contracts/src/TemporalRegistry.sol
.This temporal registry should be easy to integrate using the "contract sources" of the endorser registry.
This contract hasn't been deployed and integrated with the rest of the bundler yet.