Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions main/.vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -287,10 +287,6 @@ export default defineConfig({
},
],
},
{
text: 'Agoric API Reference',
link: 'https://agoric-sdk.pages.dev/'
},
{
text: 'Endo API Reference',
link: 'https://endojs.github.io/endo/'
Expand Down
4 changes: 0 additions & 4 deletions main/.vitepress/themeConfig/nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ export const nav = [
ariaLabel: 'Agoric CLI',
link: '/guides/agoric-cli/',
},
{
text: 'Agoric API Reference',
link: 'https://agoric-sdk.pages.dev/'
},
{
text: 'Endo API Reference',
link: 'https://endojs.github.io/endo/'
Expand Down
10 changes: 5 additions & 5 deletions main/guides/orchestration/key-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ focusing on Orchestrator Interface, Orchestration Accounts, and ChainHub.

## Orchestrator Interface

The [`Orchestrator`](https://agoric-sdk.pages.dev/interfaces/_agoric_orchestration.Orchestrator) interface provides a
The `Orchestrator` interface provides a
set of high-level methods to manage and interact with local and remote chains. Below are the primary methods:

### Access Chain Object

- `getChain` retrieves a chain object for the given `chainName` to get access to chain-specific methods. See [getChain](https://agoric-sdk.pages.dev/interfaces/_agoric_orchestration.Orchestrator#getChain).
- `getChain` retrieves a chain object for the given `chainName` to get access to chain-specific methods.

```js
const chain = await orchestrator.getChain('chainName');
Expand All @@ -19,21 +19,21 @@ const chain = await orchestrator.getChain('chainName');
### Brand Utility Functions

- `getBrandInfo` returns information about a `denom`, including the equivalent local Brand, the chain where the denom is
held, and the chain that issues the corresponding asset. See [getBrandInfo](https://agoric-sdk.pages.dev/interfaces/_agoric_orchestration.Orchestrator#getBrandInfo).
held, and the chain that issues the corresponding asset.

```js
const brandInfo = orchestrator.getBrandInfo('denom');
```

- `asAmount` converts a denom amount to an `Amount` with a brand. See [asAmount](https://agoric-sdk.pages.dev/interfaces/_agoric_orchestration.Orchestrator#asAmount).
- `asAmount` converts a denom amount to an `Amount` with a brand.

```js
const amount = orchestrator.asAmount({ denom: 'uatom', value: 1000n });
```

## Orchestration Account

Orchestration accounts are a key concept in the Agoric Orchestration API, represented by the [`OrchestrationAccount`](https://agoric-sdk.pages.dev/interfaces/_agoric_orchestration.OrchestrationAccountCommon)
Orchestration accounts are a key concept in the Agoric Orchestration API, represented by the `OrchestrationAccount`
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.
Expand Down
2 changes: 1 addition & 1 deletion main/guides/orchestration/txvsportfolio.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export const makeAccounts = async (orch, { makeStakingTap, makePortfolioHolder,
In this snippet, we create multiple accounts (one for Agoric, one for the remote chain).
Then, the contract uses `makePortfolioHolder` to maintain these in a persistent store.
Users can perform multiple future actions without losing state. Learn more about the
`makePortfolioHolder` function in the [`makePortfolioHolder` Orchestration API reference](https://agoric-sdk.pages.dev/funcs/_agoric_orchestration.preparePortfolioHolder).
`makePortfolioHolder` function in the Orchestration API reference.

## Choosing Between Transactional and Portfolio

Expand Down
2 changes: 1 addition & 1 deletion main/reference/repl/timerServices.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ For testing, use
import buildManualTimer from '@agoric/zoe/tools/manualTimer.js';
```

See package [@agoric/time](https://agoric-sdk.pages.dev/modules/_agoric_time) for details.
See the `@agoric/time` package for details.
Loading