diff --git a/docs/8.abstraction/chain-signatures.md b/docs/8.abstraction/chain-signatures.md index 6d0840d727e..db3b1c7c9b7 100644 --- a/docs/8.abstraction/chain-signatures.md +++ b/docs/8.abstraction/chain-signatures.md @@ -12,7 +12,7 @@ Chain Signatures unlock the ability for a single account to transact across mult In this document we cover the steps necessary to sign a transaction for another chain, we recommend you to read our [**overview of Chain Signatures**](../1.concepts/abstraction/chain-signatures.md) before, as well as some of its [**use cases**](../1.concepts/abstraction/signatures/use-case.md). :::info -Check our example showing how to [sign Ethereum transactions on NEAR](https://github.com/near-examples/near-multichain) +See our [web-app example](https://github.com/near-examples/near-multichain) and [component example](https://test.near.social/md1.testnet/widget/chainsig-sign-eth-tx) showing how a NEAR account can create an Ethereum testnet transaction. ::: --- @@ -24,7 +24,7 @@ The first step is to use Chain Signatures is to construct a payload (transaction + start="18" end="40" /> ```js @@ -44,7 +44,7 @@ The method expects the `payload` to be signed for the target blockchain, and a ` + start="49" end="54" /> @@ -59,8 +59,8 @@ The contract will take some time to respond, as it needs to wait for the [`MPC s + url="https://github.com/near-examples/near-multichain/blob/main/src/ethereum.js" + start="49" end="57" /> @@ -80,7 +80,7 @@ Once we have reconstructed the signature, we can relay it to the corresponding n + start="43" end="47" /> diff --git a/website/sidebars.js b/website/sidebars.js index af77c963fbe..40c21bee8ec 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -52,7 +52,7 @@ const sidebar = { ] }, { - "Network":[ + "Network": [ "concepts/basics/validators", "concepts/basics/networks", "concepts/basics/epoch", @@ -280,11 +280,14 @@ const sidebar = { "develop/relayers/build-relayer", 'tools/fastauth-sdk', 'abstraction/chain-signatures', - ]}, - {"Multichain Gas Relayer": [ - "develop/relayers/multichain-server", - "develop/relayers/gas-station", - ]}, + { + "Multichain Gas Relayer": [ + "develop/relayers/multichain-server", + "develop/relayers/gas-station", + ] + }, + ] + }, { "type": "html", "value": "
"