Dive deeply into the world of Blockchain and Web 3.0 using D.I.V.E. (Deployable Infrastructure for Virtually Effortless blockchain integration),The Dive package aim to implement its services and API for ICON Blockchain. The kurtosis services and API are designed to simplify the process of deploying various nodes and services for development and testing and enhance the overall user experience. Implementing kurtosis for the ICON blockchain can help ease the developers in the ecosystem to focus more on building the business logic without worrying about the setup which consumes a significant amount of time.
The vision is to making ICON the interoperable hub by easing the setup of BTP and IBC for ICON and the connecting chains.
This repository uses kurtosis package
Before proceeding make sure to have
- ICON
- ETHEREUM
- Icon node service package - This package is responsible for running the ICON node and providing the configuration to the given services.
- Icon BTP Integration - This provides the setup for Deploying BTP Smart Contracts and Relay
- Evm chain node package - This package is responsible for running the EVM chain node and providing the configuration to the given services.
- Evm Util Package - This package is responsible for Uploading and Interacting with Smart Contracts Deployed on EVM based chains.
- Evm BTP Integration - This provides setup for Deploying BTP Smart Contracts and Relay Setup
Dive-cli is a command line tool that will be used for starting the chain and crosschain communication between two different chains
Installing
brew install hugobyte/tap/dive-cli
The available commands are -
-
bridge
:For connecting the two different chains. This will create an relay to connect two different chains and pass any messages between them
subcommands
btp
: Starts BTP bridge between Chain A and Chain B
-
chain
:For building, initialising and starting a specified blockchain node. By executing this command the node will be launched by enabling the network participation and ledger maintenance within the specified blockchain ecosystem
subcommands
eth
: Build, initialise and start a eth node.hardhat
: Build, initialise and start a hardhat node.icon
: Build, initialise and start a icon node.
-
clean
:For cleaning the kurtosis enclave
-
discord
:Redirect to the DIVE discord channel
-
tutorial
:Redirect to the DIVE youtube channel
-
version
:For getting the current version of the CLI
Example
- For building,initialising and starting the icon chain
dive chain icon
- icon-icon cross chain communication
dive bridge btp --chainA icon --chainB icon
- icon-eth cross chain communication
dive bridge btp --chainA icon --chainB eth
- For cleaning the enclave
dive clean
- For running the 2 chains
dive chain icon -g <path of genesis.json> -c <path of config.json> -i <chain1_name>
dive chain icon -g <path of genesis.json> -c <path of config.json> -i <chain2_name>
Find the example genesis here
NOTE : cid
will be changed based on the genesis file
- Follow the instruction in Test Folder
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request.
- Fork the Project.
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'feature message'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request.
Special thanks to Kurtosis-Tech.
Distributed under the Apache 2.0 License. See LICENSE for more information.
We would happy to hear your thoughts on our project. Your feedback helps us improve and make it better for everyone. Please submit your valuable feedback here