This is an e2e demo and test between two hyperledger besu chains using yui-relayer.
First, need to install go >= v1.20 and node >= v16.
Also, need to install npm dependencies:
$ npm install
Just execute the single command:
$ make test
The above commands execute the following in sequence:
- Launch two HB chains (both chain uses QBFT consensus)
make network-qbft
- Deploy the IBC contracts from yui-ibc-solidity to the chains using hardhat
make deploy
- Configurate yui-relayer setting with ./relayer/configs
make init
- Perform IBC handshake using yui-relayer
make handshake
- Send a packet using ./scripts/sendPacket.js and relay it using yui-relayer
make relay
- Shutdown two HB chains
make network-down