Customize Light Client
Build your own Light Client Contract
As mentioned here, Futaba allows you to build the verification logic part at will.
If the target contract extends ILightClient.sol
and defines verify()
, requestQuery()
and estimateFee()
You can build your own logic at a minimum.
ILightClient.sol
By default, the block header (state root) supplied by Oracle and the storage proof received from Relayer are verified by Merkle Patricia Trie (MPT).
In the future, we can develop modules using zkp and a block hash Aggregator such as Hashi.
Last updated
Was this helpful?