Skip to content

Commit

Permalink
Merge pull request #182 from rsksmart/Devtools-crosschain-page
Browse files Browse the repository at this point in the history
Added cross chain info on the devtool page
  • Loading branch information
owans authored Dec 6, 2024
2 parents 2b1455f + 60e2916 commit d2174cb
Show file tree
Hide file tree
Showing 5 changed files with 156 additions and 0 deletions.
30 changes: 30 additions & 0 deletions docs/05-dev-tools/cross-chain-bridges/hyperlanebridge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
sidebar_position: 1
sidebar_label: Hyperlane Bridge
title: Hyperlane Bridge
description: "Hyperlane is a permissionless interoperability protocol that facilitates easy communication and asset transfers between blockchain networks."
tags: [cross chain, hyperlane bridge, developer tools, rsk, rootstock, testnet, ethereum, dApps, smart contracts]
---

Hyperlane is a permissionless interoperability protocol that facilitates easy communication and asset transfers between blockchain networks.
It eliminates the need for centralized permissions, which enables developers to create and scale cross-chain applications effortlessly.

## Why Use Hyperlane?
Hyperlane makes cross-chain communication simple and accessible for developers.

Why it stands out:
1. **No Permissions Needed:** Anyone can use Hyperlane on any blockchain—layer 1, rollup, or app-chain—without asking for approval.
2. **No Middlemen:** It removes the need for centralized services, giving developers full control over their applications.
3. **Easy Multi-Chain Setup:** Developers can quickly create apps that work across different blockchains.
4. **Customizable Security:** With Interchain Security Modules (ISMs), developers can adjust the security settings to fit their app's needs.
5. **Scalable and Flexible:** Hyperlane's design helps apps grow without bottlenecks or restrictions.


## Get Started with Hyperlane
Leverage pre-built components to kickstart your cross-chain development:

1. **Warp Routes:** Enable seamless movement of native and ERC20 tokens across chains.
2. **Interchain Accounts:** Allow accounts on one chain (e.g., a DAO) to execute smart contract calls on remote chains.
3. **Interchain Queries:** Facilitate view calls from one chain to retrieve data from remote chains.

<Button size="sm" href="/resources/tutorials/hyperlane-bridge/">Try Hyperlane Bridge on Rootstock</Button>
26 changes: 26 additions & 0 deletions docs/05-dev-tools/cross-chain-bridges/powpeg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
sidebar_position: 2
sidebar_label: PowPeg
title: PowPeg App
description: "The PowPeg App, formerly the 2 Way Peg App, allows users to convert BTC to RBTC and vice versa."
tags: [powpeg, bridges, developer tools, rsk, testnet, rootstock, ethereum, dApps, smart contracts]
---

The PowPeg App, formerly the 2 Way Peg App, allows users to convert BTC to RBTC and vice versa. It is secured by the PowPeg protocol, a unique system that safeguards locked bitcoins using the same Bitcoin hash rate that establishes consensus.


## Transaction Types

- **Peg-in**: Convert BTC into RBTC by locking Bitcoin in a secure multi-signature wallet. After confirmation, an equivalent amount of RBTC is issued on the Rootstock blockchain.
- **Peg-out**: Exchange RBTC back into BTC by burning RBTC on Rootstock and unlocking the corresponding BTC for transfer.

## Why Use the PowPeg App?

The PowPeg protocol is a robust mechanism for ensuring interoperability between Bitcoin and Rootstock. It offers:
- **Security**: Bitcoin's hash rate guarantees asset safety during conversions.
- **Decentralization**: Transactions rely on federated signing, minimizing risks of centralized control.
- **Flexibility**: Enables access to Rootstock’s smart contract capabilities without leaving the Bitcoin ecosystem.

Discover more about the [Peg-in process](/resources/guides/powpeg-app/pegin/) and [Peg-out process](/resources/guides/powpeg-app/pegout/) to get started.

<Button size="sm" href="/concepts/powpeg/">Try Powpeg</Button>
45 changes: 45 additions & 0 deletions docs/05-dev-tools/cross-chain-bridges/routerprotocol.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
sidebar_position: 3
sidebar_label: Router Protocol
title: Router Protocol
description: "Router Protocol enables developers to seamlessly interact with multiple blockchain networks, facilitating cross-chain transactions and decentralized finance (DeFi) solutions. "
tags: [cross chain, bridges, developer tools, rsk, testnet, rootstock, ethereum, dApps, smart contracts]
---

Router Protocol enables developers to seamlessly interact with multiple blockchain networks, facilitating cross-chain transactions and decentralized finance (DeFi) solutions. To begin working with Router Protocol, you’ll need to understand some basic concepts and set up your development environment.

## Key Concepts

This section introduces the foundational elements and architecture of the **Crosstalk Framework**, providing insights into its structure and critical features.

### **1. High-Level Architecture**
The **Crosstalk Framework** enables easy cross-chain communication and interoperability across multiple blockchain networks. Its architecture consists of the following core components:
- **Message Relayers**: Facilitate secure data and transaction transfers between different blockchain ecosystems.
- **Smart Contracts**: Handle cross-chain logic, including state synchronization and the execution of NFT transfers.
- **Router Infrastructure**: Serves as the central hub for communication, transaction routing, and data relaying across networks.

### **2. Fee Management**
Effective fee management is a critical feature of the Crosstalk Framework, ensuring transparent and efficient handling of transaction costs:
- **Fee Payer Account**: Each dApp integrates a designated fee payer account on the Router Chain to handle fees for cross-chain requests. This account, configurable per chain, can be updated at any time to adapt to changes.
- **Gas Considerations**:
- Developers must provide **gasPrice** and **gasLimit** in the metadata of their CrossTalk requests to ensure successful execution on the destination chain.
- If **gasPrice** is omitted, the Router Chain's gas price oracle automatically estimates it.
- **Prepaid Fee Model**:
- Fees are calculated upfront in ROUTE tokens when a CrossTalk request is initiated.
- This ensures the transaction on the destination chain has adequate funds for successful execution.


### **3. Additional Security Modules (ASM)**
To ensure robust security, the Crosstalk Framework incorporates Additional Security Modules (ASM), offering:
- **Fraud Detection**: Proactively detects and mitigates suspicious activities to protect the integrity of cross-chain interactions.
- **Fail-Safe Mechanisms**: Automatically pauses or cancels operations when potential security threats are identified, safeguarding user transactions.


## Build your first iDapp
Creating your first interoperable decentralized application (iDapp) with Router Protocol is a straightforward two-step process:

- [Create Your Cross-Chain NFT Contract](https://docs.routerprotocol.com/develop/message-transfer-via-crosstalk/evm-guides/your-first-crosschain-nft-contract/creating-your-nft-contract/)
- [Deploy and Test Your NFT Contract](https://docs.routerprotocol.com/develop/message-transfer-via-crosstalk/evm-guides/your-first-crosschain-nft-contract/deploying-your-nft-contract/)


<Button size="sm" href="https://docs.routerprotocol.com/">Try Router Protocol</Button>
25 changes: 25 additions & 0 deletions docs/05-dev-tools/cross-chain-bridges/tokenbridge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
sidebar_position: 4
sidebar_label: Token Bridge
title: Token Bridge
description: "The Rootstock Token Bridge is an interoperability solution that allows you to transfer ERC-20 tokens seamlessly between Ethereum and Rootstock networks. "
tags: [token bridge, bridges, developer tools, testnet, rsk, rootstock, ethereum, dApps, smart contracts]
---

The Rootstock Token Bridge is an interoperability solution that allows you to transfer ERC-20 tokens seamlessly between Ethereum and Rootstock networks.

This decentralized application (dApp) provides a user-friendly interface for interacting directly with the Token Bridge smart contracts, enabling secure and efficient cross-chain transactions.

## **Why Use the Rootstock Token Bridge?**
- **Seamless Asset Movement**: Easily move your assets across Ethereum and Rootstock without complex setups, opening up new use cases for decentralized applications and DeFi ecosystems.

- **Cost-Effective and Secure**: The bridge leverages Rootstock's robust blockchain infrastructure, ensuring safe transactions at minimal cost.

- **Interoperability**: Expand your token utility by unlocking the potential to interact with applications and services across both networks.

> The Token Bridge supports transactions on both the <Shield label="Mainnet" title="Testnet" color="green" />, making it versatile for developers and users.
## **Get Started**
Visit the [Rootstock Token Bridge dApp](https://dapp.tokenbridge.rootstock.io/) and begin transferring your ERC-20 tokens.

For developers and technical details <Button size="sm" href="/resources/guides/tokenbridge/">Try Token Bridge </Button>
30 changes: 30 additions & 0 deletions docs/05-dev-tools/cross-chain-bridges/wormhole.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
sidebar_position: 5
sidebar_label: Wormhole
title: Wormhole
description: "Wormhole provides a suite of tools to simplify cross-chain integration for developers. Whether you’re building user-friendly interfaces, leveraging on-chain data, or facilitating asset transfers, Wormhole’s solutions empower developers to create intuitive, scalable applications."
tags: [Wormhole, bridges, developer tools, rsk, testnet, rootstock, ethereum, dApps, smart contracts]
---

Wormhole provides a suite of tools to simplify cross-chain integration for developers. Whether you’re building user-friendly interfaces, leveraging on-chain data, or facilitating asset transfers, Wormhole’s solutions empower developers to create intuitive, scalable applications.

## **Available Tools**

- **Wormhole TypeScript SDK**
This SDK combines convenience with the robust type safety of TypeScript. It includes:
- Constants and contract interfaces.
- Basic types and VAA (Verifiable Action Approval) payload definitions.
- Utilities for EVM-specific interactions.
- An EVM Token Bridge protocol client.
Developers can confidently build applications with features that ensure precision and reliability.
[Get started with the SDK](https://wormhole.com).

- **Wormhole Queries**
Wormhole Queries offers a cost-effective, gas-free method to access Guardian-attested on-chain data through a REST API. This service eliminates the delays and expenses of traditional blockchain querying, leveraging full nodes operated by Wormhole Guardians for fast, real-time data retrieval.
[Get started with Queries](https://wormhole.com).

- **Wormhole Connect**
A React-based widget designed for user-friendly cross-chain asset transfers. Wormhole Connect supports both code-based and no-code customization, making it a versatile solution for web applications. Developers can seamlessly integrate it into their projects to enhance the user experience.
[Get started with Connect](https://wormhole.com).

For more details, visit the <Button size="sm" href="https://wormhole.com">Wormhole documentation</Button>

0 comments on commit d2174cb

Please sign in to comment.