Skip to content

Commit dfa0a0a

Browse files
committed
docs: updates in ChainHub section
1 parent a7e9281 commit dfa0a0a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

main/guides/orchestration/getting-started/api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const chain = await orchestrator.getChain('chainName');
1616
```
1717

1818
### makeLocalAccount
19-
Creates a new `LocalchainAccount`.
19+
Creates a new LocalChainAccount.
2020

2121
```javascript
2222
const localAccount = await orchestrator.makeLocalAccount();

main/guides/orchestration/getting-started/key-concepts.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ const stackAndSwapFn = async (orch, ...) => {
4848

4949
### ChainHub
5050

51-
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.
51+
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.
52+
53+
It simplifies accessing and interacting with multiple chains, providing a unified interface for the orchestration logic to manage cross-chain operations effectively.
54+
ChainHub also allows dynamic registration and use of chain and connection information.
5255

5356
```javascript
5457
const chainHub = makeChainHub(remotePowers.agoricNames);
@@ -68,7 +71,7 @@ In this example, `chainHub` is used to register a new chain and establish a conn
6871

6972
### Orchestration Account
7073

71-
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.
74+
Orchestration accounts are a key concept in the Agoric Orchestration API, represented by the [`OrchestrationAccountI`](https://agoric-sdk.pages.dev/interfaces/_agoric_orchestration.OrchestrationAccountI) 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.
7275

7376
**1. Address Management**
7477

0 commit comments

Comments
 (0)