Skip to content

Commit 21bdf09

Browse files
committed
chore: adding modified links _redirects
1 parent fa8b5e0 commit 21bdf09

File tree

8 files changed

+35
-31
lines changed

8 files changed

+35
-31
lines changed

_redirects

+11-1
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,18 @@
4444
/guides/js-programming/ses/ses-guide.html https://github.com/endojs/endo/blob/HEAD/packages/ses/docs/guide.md
4545
/guides/js-programming/ses/ses-reference https://github.com/endojs/endo/blob/HEAD/packages/ses/docs/reference.md
4646
/guides/js-programming/ses/ses-reference.html https://github.com/endojs/endo/blob/HEAD/packages/ses/docs/reference.md
47+
/guides/orchestration/getting-started/contract-walkthroughs /guides/orchestration/contract-walkthroughs
48+
/guides/orchestration/getting-started/contract-walkthroughs.html /guides/orchestration/contract-walkthroughs
49+
/guides/orchestration/getting-started/contract-walkthrough/cross-chain-unbond /guides/orchestration/contract-walkthroughs/cross-chain-unbond
50+
/guides/orchestration/getting-started/contract-walkthrough/cross-chain-unbond.html /guides/orchestration/contract-walkthroughs/cross-chain-unbond
51+
/guides/orchestration/getting-started/contract-walkthrough/orchestration-basics /guides/orchestration/orchestration-basics
52+
/guides/orchestration/getting-started/contract-walkthrough/orchestration-basics.html /guides/orchestration/orchestration-basics
53+
/guides/orchestration/getting-started/contract-walkthrough/send-anywhere /guides/orchestration/contract-walkthroughs/send-anywhere
54+
/guides/orchestration/getting-started/contract-walkthrough/send-anywhere.html /guides/orchestration/contract-walkthroughs/send-anywhere
55+
/guides/orchestration/getting-started/key-concepts /guides/orchestration/key-concepts
56+
/guides/orchestration/getting-started/key-concepts.html /guides/orchestration/key-concepts
4757
/guides/wallet/api /reference/wallet-api/
48-
/guides/wallet/api.html /reference/wallet-api.html
58+
/guides/wallet/api.html /reference/wallet-api.html
4959
/guides/wallet/api/* /reference/wallet-api/:splat
5060
/platform /guides/platform/
5161
/platform /guides/platform/

main/.vitepress/config.mjs

+4-4
Original file line numberDiff line numberDiff line change
@@ -131,21 +131,21 @@ export default defineConfig({
131131
},
132132
{
133133
text: 'Contract Walkthroughs',
134-
link: '/guides/orchestration/contract-walkthrough',
134+
link: '/guides/orchestration/contract-walkthroughs/',
135135
items: [
136136
{
137137
text: 'Send Anywhere Example',
138-
link: '/guides/orchestration/contract-walkthrough/send-anywhere',
138+
link: '/guides/orchestration/contract-walkthroughs/send-anywhere',
139139
},
140140
{
141141
text: 'Cross-Chain Unbond Example',
142-
link: '/guides/orchestration/contract-walkthrough/cross-chain-unbond',
142+
link: '/guides/orchestration/contract-walkthroughs/cross-chain-unbond',
143143
}
144144
]
145145
},
146146
{
147147
text: 'Example Orchestration DApp',
148-
link: '/guides/orchestration/orchestration-basics',
148+
link: '/guides/orchestration/orchestration-basics/',
149149
items: [
150150
{
151151
text: 'Installation and Deployment',

main/.vitepress/themeConfig/nav.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ export const nav = [
2222
items: [
2323
{
2424
text: 'Send Anywhere Example',
25-
link: '/guides/orchestration/contract-walkthrough/send-anywhere',
25+
link: '/guides/orchestration/contract-walkthroughs/send-anywhere',
2626
},
2727
{
2828
text: 'Cross-Chain Unbond Example',
29-
link: '/guides/orchestration/contract-walkthrough/cross-chain-unbond',
29+
link: '/guides/orchestration/contract-walkthroughs/cross-chain-unbond',
3030
}
3131
]
3232
},

main/guides/orchestration/contract-walkthrough/index.md renamed to main/guides/orchestration/contract-walkthroughs/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The "Send Anywhere" contract is a robust and secure solution for transferring as
1818
- The contract is resilient to failure, with built-in rollback mechanisms.
1919
- By using Agoric’s Orchestration tools, this contract provides a secure way to facilitate cross-chain asset transfers.
2020

21-
[See Contract Overview](/guides/orchestration/contract-walkthrough/send-anywhere)
21+
[See Contract Overview](/guides/orchestration/contract-walkthroughs/send-anywhere)
2222

2323
## Unbond Contract
2424

@@ -28,4 +28,4 @@ The Unbond Contract focuses on the process of unbonding staked assets and perfor
2828
- Implementing delegation and undelegation logic.
2929
- Managing asynchronous operations and ensuring the completion of long-running processes.
3030

31-
[See Contract Overview](/guides/orchestration/contract-walkthrough/cross-chain-unbond)
31+
[See Contract Overview](/guides/orchestration/contract-walkthroughs/cross-chain-unbond)

main/guides/orchestration/orchestration-basics/contract.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ files:
88
1. [`orca.contract.js`](https://github.com/Agoric/dapp-orchestration-basics/blob/main/contract/src/orca.contract.js)
99
2. [`orca.flows.js`](https://github.com/Agoric/dapp-orchestration-basics/blob/main/contract/src/orca.flows.js)
1010

11-
## Walkthrough: `orca.contract.js`
11+
## `orca.contract.js`
1212

1313
The `orca.contract.js` file brings in necessary dependencies and types from various Agoric packages. The `flows` import
1414
contains specific logic for the Orca contract offer handling operations.
@@ -78,7 +78,7 @@ for (const [name, info] of entries(chainDetails)) {
7878

7979
- **Creating Account and Funding Functions**: These functions are created using the `orchestrateAll` helper, which sets
8080
up the necessary flow logic for account creation and funding but the logic is implemented in `orca.flows.js` file
81-
([discussed below](#walkthrough-orcaflowsjs)).
81+
([discussed below](#orca-flows-js)).
8282

8383
```js
8484
const { makeAccount, makeCreateAndFund } = orchestrateAll(flows, {
@@ -122,7 +122,7 @@ export const start = withOrchestration(contract);
122122
harden(start);
123123
```
124124

125-
## Walkthrough `orca.flows.js`
125+
## `orca.flows.js`
126126

127127
This section provides a walkthrough of the `orca.flows.js` file, which contains flow functions for the Orca contract.
128128
The `orca.flows.js` file defines two main functions:

main/guides/orchestration/orchestration-basics/ui.md

+13-19
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,40 @@
22

33
Here, we will walkthrough the components making up the user interface for the Orchestration dApp.
44

5-
## Orchestration.tsx
5+
## `Orchestration`
66

7-
The `Orchestration.tsx` component serves as the main controller for the Orchestration dApp's user interface. It manages
7+
The [`Orchestration`](https://github.com/Agoric/dapp-orchestration-basics/blob/main/ui/src/components/Orchestration/Orchestration.tsx) component serves as the main controller for the Orchestration dApp's user interface. It manages
88
the state and interactions required for users to create accounts, manage their balances, and perform various blockchain
99
transactions such as deposits, withdrawals, staking, and unstaking.
1010

11-
## AccountList.tsx
11+
## `AccountList`
1212

13-
The `AccountList.tsx` component is responsible for displaying the list of user accounts and their associated balances in
13+
The [`AccountList`](https://github.com/Agoric/dapp-orchestration-basics/blob/main/ui/src/components/Orchestration/AccountList.tsx) component is responsible for displaying the list of user accounts and their associated balances in
1414
various native denoms. It presents account information in a structured and user-friendly format, allowing users to view
1515
and interact with their Orchestration Accounts directly.
1616

17-
## FetchBalances.tsx
17+
## `FetchBalances`
1818

19-
The `FetchBalances.tsx` component is responsible for retrieving the balances of user accounts from different
19+
The [`FetchBalances`](https://github.com/Agoric/dapp-orchestration-basics/blob/main/ui/src/components/Orchestration/FetchBalances.tsx) component is responsible for retrieving the balances of user accounts from different
2020
blockchains. It interacts with the local RPC endpoints to fetch balance data for addresses on supported chains (for
2121
Osmosis and Agoric).
2222

23-
## RpcEndpoints.tsx
23+
## `ChainSelector`
2424

25-
The `RpcEndpoints.tsx` component provides a convenient place to manage RPC endpoints for different chains, including
26-
your local agoric instance, to be used by different components. This component is used by other components, like
27-
`FetchBalances.tsx`, to interact with the correct blockchain network.
25+
The [`ChainSelector`](https://github.com/Agoric/dapp-orchestration-basics/blob/main/ui/src/components/Orchestration/ChainSelector.tsx) component provides a basic UI element for users to select the Cosmos chain they want to interact
26+
with. The selected chain is passed back to the parent component, `Orchestration`, and used in further interactions.
2827

29-
## ChainSelector.tsx
28+
## `MakeAccount`
3029

31-
The `ChainSelector.tsx` component provides a basic UI element for users to select the Cosmos chain they want to interact
32-
with. The selected chain is passed back to the parent component, `Orchestration.tsx`, and used in further interactions.
33-
34-
## `MakeAccount.tsx`
35-
36-
The `MakeAccount.tsx` component provides a user interface for managing interchain accounts on the Agoric blockchain. It
30+
The [`MakeAccount`](https://github.com/Agoric/dapp-orchestration-basics/blob/main/ui/src/components/Orchestration/MakeAccount.tsx) component provides a user interface for managing interchain accounts on the Agoric blockchain. It
3731
allows users to create new accounts on selected chains (like Osmosis or Agoric), fetch and display balances of these
3832
accounts, and perform actions such as deposit. The component interacts with the Agoric wallet to make offers and uses
3933
RPC endpoints to retrieve account balances, incorporating loading states and notifications to enhance the user
4034
experience.
4135

42-
## `MakeOffer.tsx`
36+
## `MakeOffer`
4337

44-
The `MakeOffer.tsx` component defines an asynchronous function `makeOffer` that facilitates making an offer through the
38+
The [`MakeOffer`](https://github.com/Agoric/dapp-orchestration-basics/blob/main/ui/src/components/Orchestration/MakeOffer.tsx) component defines an asynchronous function `makeOffer` that facilitates making an offer through the
4539
Agoric wallet. It first checks if a `selectedChain` is provided and retrieves the necessary contract instance
4640
(specifically 'orca') and the `BLD` brand from the contract store. The function then constructs an offer where it gives
4741
a deposit of `1000` units of `BLD`. It initiates the offer using the wallet's `makeOffer` method, providing callbacks to

0 commit comments

Comments
 (0)