From ccebeeac4cc4d962287b1b868deace6ff7b97b8b Mon Sep 17 00:00:00 2001 From: rabi-siddique Date: Wed, 10 Jul 2024 12:08:05 +0500 Subject: [PATCH] docs: updates in ChainHub section --- main/guides/orchestration/getting-started/key-concepts.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/main/guides/orchestration/getting-started/key-concepts.md b/main/guides/orchestration/getting-started/key-concepts.md index 915f3cc0f..e15ab2551 100644 --- a/main/guides/orchestration/getting-started/key-concepts.md +++ b/main/guides/orchestration/getting-started/key-concepts.md @@ -48,7 +48,10 @@ const stackAndSwapFn = async (orch, ...) => { ### ChainHub -The `makeChainHub` utility manages the connections and metadata for various blockchain networks. It simplifies accessing and interacting with multiple chains, providing a unified interface for the orchestration logic to manage cross-chain operations effectively. ChainHub also allows for dynamic registration and usage of chains. +The `makeChainHub` utility manages the connections and metadata for various blockchain networks. It creates a new `ChainHub` instance implementing the [`ChainHubI`](https://github.com/Agoric/agoric-sdk/blob/000693442f821c1fcea007a2df740733b1f75ebe/packages/orchestration/src/exos/chain-hub.js#L70-L80C4) interface. + +It simplifies accessing and interacting with multiple chains, providing a unified interface for the orchestration logic to manage cross-chain operations effectively. +ChainHub also allows dynamic registration and use of chain and connection information. ```javascript const chainHub = makeChainHub(remotePowers.agoricNames); @@ -68,7 +71,7 @@ In this example, `chainHub` is used to register a new chain and establish a conn ### Orchestration Account -Orchestration accounts are a key concept in the Agoric Orchestration API, represented by the [OrchestrationAccountI](https://github.com/Agoric/agoric-sdk/blob/000693442f821c1fcea007a2df740733b1f75ebe/packages/orchestration/src/orchestration-api.ts#L131-L175C2) interface. These accounts provide high-level operations for managing accounts on remote chains, allowing seamless interaction and management of interchain accounts. The orchestration accounts abstract the complexity of interchain interactions, providing a unified and simplified interface for developers. +Orchestration accounts are a key concept in the Agoric Orchestration API, represented by the [`OrchestrationAccountI`](https://github.com/Agoric/agoric-sdk/blob/000693442f821c1fcea007a2df740733b1f75ebe/packages/orchestration/src/orchestration-api.ts#L131-L175C2) interface. These accounts provide high-level operations for managing accounts on remote chains, allowing seamless interaction and management of interchain accounts. The orchestration accounts abstract the complexity of interchain interactions, providing a unified and simplified interface for developers. **1. Address Management**