-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(interchain-token-service): add its hub contract (#572)
Co-authored-by: Sammy <[email protected]> Co-authored-by: Christian Gorenflo <[email protected]> Co-authored-by: Rareș <[email protected]> Co-authored-by: CJ Cobb <[email protected]> Co-authored-by: jcs47 <[email protected]> Co-authored-by: João Sousa <[email protected]> Co-authored-by: haiyizxx <[email protected]>
- Loading branch information
1 parent
a73560d
commit 0da965d
Showing
34 changed files
with
1,733 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Interchain Token Service Hub | ||
|
||
## Overview | ||
|
||
The Interchain Token Service (ITS) Hub contract is a crucial component of a cross-chain ITS protocol. It facilitates the transfer of tokens between different blockchains, manages token deployments, and maintains balance integrity across chains. It connects to ITS edge contracts on different chains (e.g. EVM ITS [contract](https://github.com/axelarnetwork/interchain-token-service)). | ||
|
||
## Key Components | ||
|
||
1. **ITS Message Processing**: Processes incoming ITS messages from trusted sources. | ||
2. **Balance Tracking**: Ensures accurate token balances are maintained during cross-chain operations. | ||
3. **ITS Address Registry**: Tracks the trusted ITS address for each chain for routing. | ||
|
||
### Cross-chain messaging | ||
|
||
The ITS Hub makes use of the Axelarnet gateway [contract](../contracts/axelarnet-gateway/) to facilitate sending or receiving cross-chain messages. Messages are sent via `CallContract`, and received when the Axelarnet gateway is executed (by a relayer / user) through `Execute`, which in turn executes ITS Hub's `Execute` method. |
Oops, something went wrong.