diff --git a/main/.vitepress/config.mjs b/main/.vitepress/config.mjs index 4fd63c5b3..0878e2f00 100644 --- a/main/.vitepress/config.mjs +++ b/main/.vitepress/config.mjs @@ -144,10 +144,6 @@ export default defineConfig({ { text: 'Cross-Chain Unbond Example', link: '/guides/orchestration/getting-started/contract-walkthrough/cross-chain-unbond', - }, - { - text: 'Orchestration Basics', - link: '/guides/orchestration/getting-started/contract-walkthrough/orchestration-basics', } ] }, diff --git a/main/.vitepress/themeConfig/nav.js b/main/.vitepress/themeConfig/nav.js index 996dcea46..ebabdd189 100644 --- a/main/.vitepress/themeConfig/nav.js +++ b/main/.vitepress/themeConfig/nav.js @@ -31,10 +31,6 @@ export const nav = [ { text: 'Cross-Chain Unbond Example', link: '/guides/orchestration/getting-started/contract-walkthrough/cross-chain-unbond', - }, - { - text: 'Orchestration Basics', - link: '/guides/orchestration/getting-started/contract-walkthrough/orchestration-basics', } ] }, diff --git a/main/guides/orchestration/getting-started/contract-walkthrough/send-anywhere.md b/main/guides/orchestration/getting-started/contract-walkthrough/send-anywhere.md index 76ea8b8d9..860fc103a 100644 --- a/main/guides/orchestration/getting-started/contract-walkthrough/send-anywhere.md +++ b/main/guides/orchestration/getting-started/contract-walkthrough/send-anywhere.md @@ -1,4 +1,4 @@ -# SendAnywhere Contract Walkthrough +# "Send Anywhere" Contract Walkthrough The "Send Anywhere" contract is designed to facilitate the transfer of assets from one chain to another using Agoric's [Orchestration](/glossary/#orchestration) library. The contract allows a user to send assets of a specific brand @@ -15,7 +15,7 @@ The high-level flow of the contract is: The contract is implemented in two separate files: 1. `send-anywhere.contract.js` implements the `start` function of the contract to initialize the contract and - expose `publicFacet` and `creatorFacet`. + expose `publicFacet`. 2. `send-anywhere.flows.js` implements the `sendIt` function which performs the actual transfer of assets when a user makes an offer. Let us walk through these files one by one. diff --git a/main/guides/orchestration/getting-started/contract-walkthroughs.md b/main/guides/orchestration/getting-started/contract-walkthroughs.md index bebb50c9f..adacfab49 100644 --- a/main/guides/orchestration/getting-started/contract-walkthroughs.md +++ b/main/guides/orchestration/getting-started/contract-walkthroughs.md @@ -4,10 +4,9 @@ This section is designed to provide detailed explanations and insights into exam In this section, we will cover three primary contracts: -1. `Assets Transfer Contract`: A guide to `send-anywhere` contract that demonstrates a simple yet robust and secure way for cross-chain assets transfer. -2. `Swap Contract`: A comprehensive guide to the process of swapping assets between different chains using the Agoric orchestration library. -3. `Unbond Contract`: A detailed walkthrough of the unbonding and liquid staking process, highlighting the steps involved in managing cross-chain operations. -4. `Orchestration Basics Contract`: A dApp template serving as an introduction to the foundational concepts and implementation details of orchestration basics within an Agoric dApp. +1. **Assets Transfer Contract**: A guide to `send-anywhere` contract that demonstrates a simple yet robust and secure way for cross-chain assets transfer. +2. **Swap Contract**: A comprehensive guide to the process of swapping assets between different chains using the Agoric orchestration library. +3. **Unbond Contract**: A detailed walkthrough of the unbonding and liquid staking process, highlighting the steps involved in managing cross-chain operations. Each walkthrough will include detailed explanations of the contract code, providing insights into the mechanics and best practices of smart contract development on the Agoric platform. By the end of these walkthroughs, you should have a solid understanding of how to utilize Agoric’s tools and libraries to create robust and efficient cross-chain smart contracts. @@ -42,12 +41,3 @@ The Unbond Contract focuses on the process of unbonding staked assets and perfor - Managing asynchronous operations and ensuring the completion of long-running processes. [See Contract Overview](/guides/orchestration/getting-started/contract-walkthrough/cross-chain-unbond) - -## DApp Orchestration Basics - -DApp Orchestration Basics walkthrough will provide an introduction to the implementation level details of orchestration within an Agoric dApp. This guide aims to: - -- Explain the fundamental principles of orchestration. -- Show an end-to-end dApp using the Orchestration API - -[See Contract Overview](/guides/orchestration/getting-started/contract-walkthrough/orchestration-basics)