Skip to content

Commit

Permalink
hotfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SwiftAdviser committed Aug 9, 2023
1 parent 33a2a53 commit d1555c7
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 17 deletions.
34 changes: 23 additions & 11 deletions docs/develop/dapps/ton-connect/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,38 @@ This separation of concerns enables rapid innovation and high level of security

TON Connect aims to offer a seamless user experience between wallets and apps.

Feel free to use one of the following flows for integration:
Feel free to use one of the following flows for integration of your application:

<Button href="/develop/get-started-with-ton" colorType={'primary'} sizeType={'sm'}>Telegram Web Apps</Button>
<Button href="https://ton-community.github.io/tutorials/01-wallet/"
<Button href="/develop/dapps/ton-connect/twa" colorType={'primary'} sizeType={'sm'}>Telegram Web Apps</Button>
<Button href="/develop/dapps/ton-connect/web"
colorType="secondary" sizeType={'sm'}>
Web
Websites
</Button>
<Button href="https://ton-community.github.io/tutorials/01-wallet/"
<Button href="/develop/dapps/ton-connect/mobile"
colorType="secondary" sizeType={'sm'}>
Android, iOS
Mobile Apps
</Button>
<Button href="https://ton-community.github.io/tutorials/01-wallet/"
<Button href="/develop/dapps/ton-connect/tg-bot-integration"
colorType="secondary" sizeType={'sm'}>
Telegram Bots
</Button>

## TODO
## Connect a Wallet

TODO: protocol specs
If you are a wallet developer, you can connect your wallet to TON Connect and enable your users to interact with TON apps in a secure and convenient way.

Use the following steps to connect your wallet to TON Connect:

1. Read carefully [Protocol specifications](/develop/dapps/ton-connect/protocol/).
2. Implement the protocol using one of the [SDKs](/develop/dapps/ton-connect/developers).
3. Add your wallet to the [wallets-list](https://github.com/ton-blockchain/wallets-list) with a pull request.

<Button href="/develop/dapps/ton-connect/protocol/" colorType={'primary'} sizeType={'sm'}>Start Integration</Button>

## See also

- [TON Connect for Business](/develop/dapps/ton-connect/business)
- [TON Connect Security](/develop/dapps/ton-connect/security)
- [TON Connect 2.0 vs 1.0](/develop/dapps/ton-connect/comparison)

TODO: describe for business

TODO: wallets flow
6 changes: 3 additions & 3 deletions docs/develop/dapps/ton-connect/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ Experience seamless connectivity with wallets within [TON](/learn/introduction)

![](/img/docs/ton-connect/ton-connect-overview.png?raw=true)

Feel free to use one of the following flows for integration:
Feel free to use one of the following flows for integration of your application:

<Button href="/develop/dapps/ton-connect/twa" colorType={'primary'} sizeType={'sm'}>Telegram Web Apps</Button>
<Button href="/develop/dapps/ton-connect/integration"
<Button href="/develop/dapps/ton-connect/web"
colorType="secondary" sizeType={'sm'}>
Websites
</Button>
<Button href="/develop/dapps/ton-connect/mobile"
colorType="secondary" sizeType={'sm'}>
Mobile
Mobile Apps
</Button>
<Button href="/develop/dapps/ton-connect/tg-bot-integration"
colorType="secondary" sizeType={'sm'}>
Expand Down
6 changes: 4 additions & 2 deletions docs/develop/dapps/ton-connect/protocol/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
# Protocol specifications

Understand how TON Connect works under the hood.

## Who is this section for?

- If you implement an SDK
- If you implement a wallet
- If you develop an SDK
- If you want to learn how TON Connect works

## Sections overview

* [Protocol workflow](/develop/dapps/ton-connect/protocol/workflow): an overview of all the protocols.
* [Protocol workflows](/develop/dapps/ton-connect/protocol/workflow) is an overview of all the protocols involved in TON Connect.
* [Bridge API](/develop/dapps/ton-connect/protocol/bridge) specifies how the data is transmitted between the app and the wallet.
* [Session protocol](/develop/dapps/ton-connect/protocol/session) ensures end-to-end encrypted communication over the bridge.
* [Requests protocol](/develop/dapps/ton-connect/protocol/requests-responses) defines requests and responses for the app and the wallet.
Expand Down
3 changes: 2 additions & 1 deletion docs/develop/dapps/ton-connect/twa.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ Telegram Web Apps (TWA) are web applications that run inside the Telegram messen

## Telegram Web Apps

- [Telegram Web Apps Documentation](https://core.telegram.org/bots/webapps) — full description on Telegram website.
- [Telegram Web Apps documentation](https://docs.twa.dev/docs/introduction/about-platform) — a community-driven documentation for TWA.
- [TWA Documentation by Telegram](https://core.telegram.org/bots/webapps) — full description on Telegram website.

### Web Apps SDK list

Expand Down
5 changes: 5 additions & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,11 @@ const sidebars = {
items: [
'develop/dapps/ton-connect/overview',
'develop/dapps/ton-connect/README',
{
type: 'link',
href: '/develop/dapps/ton-connect/#connect-a-wallet',
label: 'Connect a Wallet',
},
{
type: 'category',
label: 'Platforms', //
Expand Down

0 comments on commit d1555c7

Please sign in to comment.