hyperledger-labs / yui-ibc-solidity

IBC in Solidity
Apache License 2.0
134 stars 62 forks source link

How to build and run a relay serverice for the IBFT-v2 light client #216

Closed Darm0n closed 1 year ago

Darm0n commented 1 year ago

Hi team! I observed the testing of the IBFT-v2 light (/test/e2e/chains_test.go), the test file manually to relay ibc packet. Can build and run a relay service as back-end like in the sample ( https://github.com/hyperledger-labs/yui-docs/tree/main/samples/minitoken-besu-ethereum) So that, I can send arbitrary number of ibc transaction and relay can automatically relay packets

bluele commented 1 year ago

@KunPengRen Thanks for your interest. Unfortunately, the yui-relayer support of ibft2 is not implemented yet, so you need to implement a prover module for yui-relayer with reference to the qbft one: https://github.com/datachainlab/ibc-quorum-relay. The two light clients are very similar and may help with your work. However, you can use https://github.com/datachainlab/ethereum-ibc-relay-chain as a chain module for IBFT 2.0.

We don't have an example that suits you, but it may also be helpful for using yui-relayer: https://github.com/datachainlab/yui-relayer-build/tree/v0.4/tests/cases/eth2eth

bluele commented 1 year ago

@KunPengRen If you have further questions, you can reopen this issue. Thanks.

bluele commented 11 months ago

FYI: We have published a repository that provides relayer support for IBFT 2.0 and e2e demo using it. https://github.com/datachainlab/ibft2-relay-prover