# Request and accept HRMP channels with Turing Network

**URL:** <https://forum.astar.network/t/request-and-accept-hrmp-channels-with-turing-network/3864>\
**Category:** Proposal\
**Created:** [July 27, 2022, 7:30pm UTC](https://forum.astar.network/t/request-and-accept-hrmp-channels-with-turing-network/3864 "2022-07-27T19:30:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![OAK-Turing](https://avatars.discourse-cdn.com/v4/letter/o/34f0e0/32.png) [@OAK-Turing](https://forum.astar.network/u/OAK-Turing)\
**Post date:** [July 27, 2022, 7:30pm UTC](https://forum.astar.network/t/request-and-accept-hrmp-channels-with-turing-network/3864/1 "2022-07-27T19:30:44Z")

</div>

# TL:DR

I propose to open bi-directional (request and accept) HRMP channels between Shiden and Turing.

# Proposal

The OAK Network requests Astar governance approval to **open bi-directional HRMP channels between Shiden and the Turing Network** , Kusama’s hub for trustless automation.

OAK Network seeks to **enable Turing’s native token (TUR) to be transferred to Shiden** and traded with native and foreign tokens.

Cross-consensus messaging (XCM) enables OAK to **automate any extrinsic or smart contract function on the Shiden blockchain** without taking custody of private keys or crypto. Trustless automation unlocks rich user experiences including scheduled and recurring payments, stable-cost-averaging, and automatically-compounding staking, LP, and money market rewards.

Steps to enact this proposal would be the same as other parachains who have opened HRMP channels with Shiden.

- The extrinsics need to be called with the parachain’s sovereign account as origin.
- Sovereign accounts for both parachains must contain at least 10 KSM to be locked as collateral (5 for each channel direction), plus some KSM to pay for xcm execution fees.

# Extrinsics

See also: [HRMP channels and you](https://github.com/OAK-Foundation/OAK-blockchain/wiki/HRMP-Channels-and-You)

1. 📤 Request to open HRMP channel with Turing:

`hrmp.hrmpInitOpenChannel(recipient: 2114, proposedMaxCapacity: 1000, proposedMaxMessageSize: 102400)`

1. ✅ Accept the request from Turing to open HRMP channel:

`hrmp.hrmpAcceptOpenChannel(sender: 2114)`

\*Assumption: Turing Network requests to open channel with Shiden

### About Turing Network:

As Kusama’s hub for trustless automation, Turing Network (OAK’s canary network) enables multi-chain apps to schedule and automate execution of any transaction or smart contract function. OAK is built for cross-chain automation, allocating 100% of block space to storing and triggering transaction execution on connected blockchains . OAK’s event-driven execution model enables executing blockchain transaction based on time, price, or state change of another chain or smart contract.

---

<div class="post-metadata">

**Author:** ![GuiGou](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/guigou/32/1366_2.png) [@GuiGou](https://forum.astar.network/u/GuiGou)\
**Post date:** [July 29, 2022, 8:55am UTC](https://forum.astar.network/t/request-and-accept-hrmp-channels-with-turing-network/3864/2 "2022-07-29T08:55:35Z")

</div>

Interoperability between parachains is key for kusama and polkadot!

---

<div class="post-metadata">

**Author:** ![pitcoin777](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/pitcoin777/32/1912_2.png) [@pitcoin777](https://forum.astar.network/u/pitcoin777)\
**Post date:** [July 29, 2022, 11:37am UTC](https://forum.astar.network/t/request-and-accept-hrmp-channels-with-turing-network/3864/3 "2022-07-29T11:37:50Z")

</div>

100% support opening channels between Parachains!  
Could you briefly explain what are the benefits of opening HRMP for Shiden and Turing.  
Thanks.

---

<div class="post-metadata">

**Author:** ![OAK-Turing](https://avatars.discourse-cdn.com/v4/letter/o/34f0e0/32.png) [@OAK-Turing](https://forum.astar.network/u/OAK-Turing)\
**Post date:** [July 29, 2022, 3:20pm UTC](https://forum.astar.network/t/request-and-accept-hrmp-channels-with-turing-network/3864/4 "2022-07-29T15:20:50Z")

</div>

I’m glad you asked!

I’d encourage you to check out [this post](https://medium.com/oak-blockchain/turing-launches-bi-directional-communication-with-karura-840fd7978250) from Matt @ OAK discussing HRMP as it relates to Turing.

OAK (and its canary network, Turing) are built to provide automation to the dotsama ecosystem. A dapp that is built on another parachain can enable its users to schedule or automate any task by sending the transaction and trigger instructions to OAK. When the conditions have been “triggered”, OAK communicates those instructions back to Shiden to execute the transaction for the user, via XCM.

Turing currently supports time-based automation, enabling use cases including recurring payments, stable-cost-averaging, and auto-compounding for staking, liquidity, and money market rewards.

---

<div class="post-metadata">

**Author:** ![Maarten](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/maarten/32/4735_2.png) [@Maarten](https://forum.astar.network/u/Maarten)\
**Post date:** [July 29, 2022, 6:30pm UTC](https://forum.astar.network/t/request-and-accept-hrmp-channels-with-turing-network/3864/5 "2022-07-29T18:30:13Z")

</div>

Yes! I’ve been waiting for this one!  
Looking forward to opening up the channels.

---

<div class="post-metadata">

**Author:** ![Maarten](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/maarten/32/4735_2.png) [@Maarten](https://forum.astar.network/u/Maarten)\
**Post date:** [August 9, 2022, 7:52pm UTC](https://forum.astar.network/t/request-and-accept-hrmp-channels-with-turing-network/3864/6 "2022-08-09T19:52:27Z")

</div>

_Poll ([view on site](https://forum.astar.network/t/request-and-accept-hrmp-channels-with-turing-network/3864/6))_

---

<div class="post-metadata">

**Author:** ![cmalize](https://avatars.discourse-cdn.com/v4/letter/c/b19c9b/32.png) [@cmalize](https://forum.astar.network/u/cmalize)\
**Post date:** [August 9, 2022, 7:54pm UTC](https://forum.astar.network/t/request-and-accept-hrmp-channels-with-turing-network/3864/7 "2022-08-09T19:54:18Z")

</div>

Great proposal. Casting my vote right away!

---

<div class="post-metadata">

**Author:** ![Maarten](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/maarten/32/4735_2.png) [@Maarten](https://forum.astar.network/u/Maarten)\
**Post date:** [August 12, 2022, 7:08am UTC](https://forum.astar.network/t/request-and-accept-hrmp-channels-with-turing-network/3864/8 "2022-08-12T07:08:44Z")

</div>


