yui-ibc-solidity

module
v0.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2023 License: Apache-2.0

README

IBC-Solidity

Test GoDoc

IBC implementations in Solidity.

IBC compatibility: v4.0.0

This is available not only for Ethereum and Hyperledger Besu, but also for Polygon PoS and other blockchains that supports EVM-compatible.

NOTE: This is yet pre-beta non-production-quality software.

Features

Documents

Please see here.

In addition, a tutorial is here.

Supported Light Client

You can deploy a Light Client that implements the IClient interface to integrate with IBC-Solidity.

Here are some such examples:

Development and Testing

Unit test
$ make test
E2E test

Launch two Hyperledger Besu chains(ethereum-compatible) with the contracts deployed with the following command:

$ make network-e2e

After launch the chains, execute the following command:

$ make e2e-test

E2E-test with IBC-Relayer

An example of E2E with IBC-Relayer(yui-relayer) can be found here:

For Developers

To generate the proto encoders and decoders in solidity from proto files, you need to use the code generator solidity-protobuf

Currently, v0.1.0 is required.

If you edit the proto definitions, you should execute the following command:

$ make SOLPB_DIR=/path/to/solidity-protobuf proto-sol

Maintainers

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL