8.2.3 Interchain Services based on FISCO BCOS

Application Contract Development Guide in BSN production environment

The development of FISCO BCOS application contract is based on its own business scenario. The main implementation includes two parts: if the source chain initiates a cross-chain transaction, its application contract needs to get outbound to access the target chain; if the target chain receives a cross-chain transaction, its application contract needs to get inbound.

BAn example of a specific cross-chain transaction call can be found in Demo Contract Example.

Application Contract Development Guide in BSN Testnet

FISCO's chain ID in the BSN China Testnet is 6 98 and in the BSN International Testnet is 799. This chain ID is registered in Poly Enterprise, not the group ID corresponding to FISCO itself.

The application contract example in BSN test network is the same as the production environment, please visit Application Contract Development Guide in BSN Production Environment for details.

An example of a specific cross-chain transaction call can be found in Demo Contract Example.

Demo Contract Example

BSN Production Environment and Testnet:

https://github.com/BSNDA/ICH/tree/main/sample/polychain/fisco_contracts/hellopoly

© 2019-2024 Red Date (Hong Kong) Technology Limited. all right reserved,powered by GitbookFile Modify: 2023-02-16 12:21:44

results matching ""

    No results matching ""

    results matching ""

      No results matching ""