Skip to content

Commit

Permalink
GITBOOK-12: refactor: Quickstart and how to implement t:connect
Browse files Browse the repository at this point in the history
  • Loading branch information
f.schoenknecht authored and gitbook-bot committed Oct 24, 2024
1 parent b618234 commit 940f34d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 6 additions & 1 deletion about/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ npm install <tconnect>
{% step %}
### Import the libary in your Telegram Mini App

The constructor of the `tconnect` class takes an RPC URL as a parameter. It has to be a string. A list of nodes can be accessed [here](../getting-started/implementation-guide/providers.md).

```
// Some code
import { tconnect } from '<@tconnect/tconnect>';
const tconnect = new teconnect('https://YOUR_PREFERRED_RPC_URL');
```
{% endstep %}

Expand All @@ -41,3 +45,4 @@ npm install <tconnect>
```
// Some code
```

Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@ npm install <tconnect>
{% step %}
### Import the libary in your Telegram Mini App

The constructor of the `tconnect` class takes an RPC URL as a parameter. It has to be a string. A list of nodes can be accessed [here](providers.md).

```
// Some code
import { tconnect } from '<@tconnect/tconnect>';
const tconnect = new teconnect('https://YOUR_PREFERRED_RPC_URL');
```
{% endstep %}

Expand Down

0 comments on commit 940f34d

Please sign in to comment.