The two contracts are developed entirely on eosio.cdt, so you can compile them with eosio.cdt. Also, you can compile them with bos.cdt, for bos.cdt only adds some contract interfaces, the existing interfaces of eosio.cdt have not been changed. However, eosio.cdt and bos.cdt use different version number, so you should use following commands to compile:
if your host is installed eosio.cdt, compile with the following command
$ ./build.sh eosio.cdt
if your host is installed bos.cdt, compile with the following command
$ ./build.sh bos.cdt
There are three IBC related softwares, ibc_contracts, ibc_plugin_eos and ibc_plugin_bos, There are currently two major versions for all these three software repositories and between major versions are incompatible, so the three repositories need to use the same major version number to coordinate their work.
Each head of the current master branch of the three repositories is belongs the major version 2. If you need the old major version 1 of these repositories, please checkout the corresponding branch where the version 1 is located. As shown in the table below.
Repo | master's head | version 1's branch |
---|---|---|
ibc_contracts | version 2 | v1.x.x |
ibc_plugin_eos | version 2 | ibc_v1.x.x_branch |
ibc_plugin_bos | version 2 | ibc_v1.x.x_branch |
ibc_test_env provides a great localhost IBC test cluster environment, you can find all the details related to IBC system deployment, contracts initialization, testing inter-blockchain token transfers in the bash scripts.
- User_Guide Explains how blockchain users use IBC system for inter-blockchain token transfer by command lines.
- Token_Registration_and_Management
Explains how to register a
token
in the IBC contracts to circulate on the two blockchains. - Deployment_and_Test Explains how to deploy and test the IBC system.
- Troubleshooting Explains how to troubleshooting when IBC system encounters problems.
- EOSIO_IBC_Priciple_and_Design
- EOSIO_IBC_Priciple_and_Design 中文版