Skip to content

Commit

Permalink
Update welcome.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bucanero authored Mar 19, 2024
1 parent fbaac33 commit 684e28b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/2.develop/relayers/welcome.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The client can then generate a `SignedDelegateAction` (signed message that isn't
<Tabs groupId="code-tabs">
<TabItem value="near-api-js">

Here a simple express endpoint deserializes the body, instantiates the relayer account and then sends the transaction.
Here's a simple express endpoint deserializes the body, instantiates the relayer account and then sends the transaction.

<Github language='typescript' url='https://github.com/SurgeCode/near-relay-example/blob/main/server.ts' start='16' end='27'/>

Expand All @@ -43,15 +43,15 @@ The client can then generate a `SignedDelegateAction` (signed message that isn't
<Github language='typescript' url='https://github.com/SurgeCode/near-relay-example/blob/main/util.ts' start='5' end='17'/>


:::info
:::info

The code in the example only works from the following versions onwards

"near-api-js": "3.0.4"

"@near-js/transactions": "1.1.2",

"@near-js/accounts": "1.0.4"
```
"near-api-js": "3.0.4"
"@near-js/transactions": "1.1.2",
"@near-js/accounts": "1.0.4"
```

:::

Expand Down

0 comments on commit 684e28b

Please sign in to comment.