Skip to content

Commit

Permalink
docs: updates in ChainHub section
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique committed Jul 10, 2024
1 parent a7e9281 commit ccebeea
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions main/guides/orchestration/getting-started/key-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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**

Expand Down

0 comments on commit ccebeea

Please sign in to comment.