Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wuminzhe committed Jul 22, 2022
1 parent d664307 commit 7bdb9a2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
10 changes: 6 additions & 4 deletions docs/sdk/guides/03-execute-remote-smart-contract-call.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,19 @@ sidebar_position: 3

# Execute Remote Smart Contract Call

This Dapp allows you to call Pangolin Smart Chain's `add(2)` function from Pangoro.
This Dapp allows you to call Pangolin Smart Chain's `add(2)` function from Pangoro Smart Chain.

Pangoro is the testnet of Darwinia Network. [Pangolin Smart Chain](https://docs.crab.network/evm-compatible-crab-smart-chain/get-started/darwinia-pangolin) is the testnet of Crab Smart Chain.
Pangoro Smart Chain is the testnet of Darwinia Smart Chain. [Pangolin Smart Chain](https://docs.crab.network/evm-compatible-crab-smart-chain/get-started/darwinia-pangolin) is the testnet of Crab Smart Chain.

## Install deps

`npm install --save-dev @darwinia/contracts-periphery @darwinia/contracts-utils`
```bash
npm install --save-dev @darwinia/contracts-periphery @darwinia/contracts-utils
```

## Prepare your cross-chain endpoints

We need two endpoints here. One is for Pangoro, and the another one is for Pangolin. We can download them here.
We need two endpoints here. One is for Pangoro Smart Chain, and the another one is for Pangolin Smart Chain. We can download them here.

1. Download [ToPangolinEndpoint.sol](https://raw.githubusercontent.com/darwinia-network/darwinia-messages-sol/master/contracts/periphery/contracts/s2s/examples/ToPangolinEndpoint.sol) for Pangoro. Then deploy it to Pangoro Smart Chain.

Expand Down
8 changes: 5 additions & 3 deletions docs/sdk/guides/04-dispatch-remote-substrate-call.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ sidebar_position: 4

# Dispatch Remote Substrate Call

This guide helps you to build a small Dapp that will dispatch Pangolin's `remark_with_event` remotely from Pangoro.
This guide helps you to build a small Dapp that will dispatch Pangolin's `remark_with_event` remotely from Pangoro Smart Chain.

`remark_with_event` is a dispatchable call of the target Substrate based blockchain. A dispatchable call is a public function that can be executed at runtime via a JSON RPC call. More info about [Substrate](https://substrate.io/) and the [dispatchable calls](https://docs.substrate.io/reference/glossary/#dispatch).

Pangoro is the testnet of Darwinia Network. [Pangolin](https://docs.crab.network/evm-compatible-crab-smart-chain/get-started/darwinia-pangolin) is the testnet of Crab Network.
Pangoro Smart Chain is the testnet of Darwinia Smart Chain. [Pangolin](https://docs.crab.network/evm-compatible-crab-smart-chain/get-started/darwinia-pangolin) is the testnet of Crab Network.

## Install deps

`npm install --save-dev @darwinia/contracts-periphery @darwinia/contracts-utils`
```bash
npm install --save-dev @darwinia/contracts-periphery @darwinia/contracts-utils
```

## Prepare your cross-chain endpoint

Expand Down

0 comments on commit 7bdb9a2

Please sign in to comment.