You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**From a user’s perspective**, your contract or dapp can coordinate actions across multiple chains without burdening the user to jump through multiple UIs or signing steps. The Orchestration API *handles the complexity behind the scenes*. This empowers smart contracts to, for example,
9
+
**From a user’s perspective**, your contract or dapp can coordinate actions across multiple chains without burdening the user to jump through multiple UIs or signing steps. The Orchestration API _handles the complexity behind the scenes_. This empowers smart contracts to, for example,
10
10
11
-
:::tip Key Orchestration Features
12
-
-**_Perform Inter-Chain Staking_** 🔄
13
-
Leverage delegated proof-of-stake opportunities on remote Cosmos chains.
11
+
:::tip Key Orchestration Use Cases
14
12
15
-
-**_Automate Multi-Hop Transfers_**🌉
16
-
Bridge tokens from Ethereum to Stride, then stake them or perform actions on Osmosis.
13
+
-**Perform Inter-Chain Staking**🌐
14
+
Leverage delegated proof-of-stake opportunities on remote Cosmos chains.
17
15
18
-
-**_Support Scheduled Operations_** ⏰
19
-
Enable recurring and delayed tasks like rents and subscription services through the on-chain Timer Service.
20
-
:::
16
+
-**Automate Multi-Hop Transfers** 🚀
17
+
Bridge tokens from Ethereum to Stride, then stake them or perform actions on Osmosis.
18
+
19
+
-**Support Scheduled Operations** ⏰
20
+
Enable recurring and delayed tasks like rent collection and subscription services through the on-chain Timer Service.
21
+
:::
21
22
22
23
The Orchestration API sits on top of Agoric’s novel VM that provides three key elements that make multichain applications possible:
23
24
@@ -27,10 +28,13 @@ The Orchestration API sits on top of Agoric’s novel VM that provides three key
27
28
28
29
Agoric’s Orchestration APIs simplify controlling accounts on remote chains, moving assets, and using capabilities on any chain the API reaches.
29
30
31
+
## Orchestration API Flow
32
+
33
+
Orchestration allows us to seamlessly create accounts on remote chains by accessing their chain objects. We can then use these chain objects to create accounts, get addresses, and transfer assets between chains. Let's walk through two common scenarios using the Orchestration API:
30
34
31
-
##Introduction to Orchestration API Flow
35
+
### 1. Creating Remote Accounts
32
36
33
-
Orchestration allows us to seamlessly create accounts on remote chains by accessing their chain objects. We can then use these chain objects to create accounts, get addresses, and transfer assets between chains. The following code snippet demonstrates how to create account Stride chain and get their address.
37
+
The following example shows how to create and interact with an account on the Stride chain:
We can easily transfer assets between chains and execute cross-chain transactions using the Orchestration API. The following code snippet demonstrates how to transfer funds from Osmosis to Agoric, forward funds from Agoric to Stride, and stake tokens on Stride.
50
+
### 2. Cross-Chain Asset Transfers and Staking
51
+
52
+
This example demonstrates a complete flow of transferring and staking assets across multiple chains:
These examples demonstrate how Orchestration enables seamless cross-chain operations while abstracting away the underlying complexity. Developers can focus on building their applications' logic while the Orchestration API handles the intricate details of cross-chain communication.
0 commit comments