Skip to content

Commit

Permalink
Merge branch 'staging'
Browse files Browse the repository at this point in the history
# Conflicts:
#	sidebars.js
  • Loading branch information
SwiftAdviser committed Aug 13, 2023
2 parents 00bf00a + f4e4f82 commit e74ecab
Show file tree
Hide file tree
Showing 36 changed files with 3,757 additions and 431 deletions.
94 changes: 0 additions & 94 deletions docs/develop/dapps/README.md

This file was deleted.

92 changes: 92 additions & 0 deletions docs/develop/dapps/README.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
import Button from '@site/src/components/button'

# Overview

To start with DApps on TON, you need to understand the basics of the blockchain and the TON architecture. You can find this information in the [Concepts](/learn/introduction) section.

Comparing to the pure [Smart Contracts](/develop/smart-contracts/) development, DApps development is more complex. You need to understand [how to work with APIs](/develop/dapps/apis/), how to use authenticate user using [TON Connect](/develop/dapps/ton-connect/overview) and how to use [SDKs](/develop/dapps/apis/sdk) to work with the blockchain.

<Button href="/develop/dapps/ton-connect/twa" colorType={'primary'} sizeType={'sm'}>Build a Web App</Button>
<Button href="/develop/dapps/apis/sdk"
colorType="secondary" sizeType={'sm'}>
Choose an SDK
</Button>

## Basic tools

Here you can see links to the most important resources for you to get started with TON:

- [Wallet Apps for Developers](/participate/wallets/apps) — to create and manage wallets.
- [List of Explorers](/participate/explorers) — to view the state of the blockchain.
- [API Types](/develop/dapps/apis/) — different ways to interact with the blockchain.
- [List of SDKs](/develop/dapps/apis/sdk) — list of SDKs for different languages and APIs.
- [Testnet and how to use it](/develop/smart-contracts/environment/testnet) — to test your contracts.
- [TON Unfreezer](https://unfreezer.ton.org/) - to unfreeze contracts that ran out of gas for rent.

## Introduction to DeFi

* [Toncoin processing](/develop/dapps/defi/coins)
* [Tokens on TON (Jettons & NFTs)](/develop/dapps/defi/tokens)
* [TON Payments](/develop/dapps/defi/ton-payments)
* [Subscriptions on TON](/develop/dapps/defi/subscriptions)

### Payments processing

* [Payment processing](/develop/dapps/asset-processing/)
* [NFT processing](/develop/dapps/asset-processing/nft)
* [Metadata parsing](/develop/dapps/asset-processing/metadata)

## Tutorials and examples

### Basics

* Jettons (Tokens): [Mint your first Jetton](/develop/dapps/tutorials/jetton-minter)
* NFTs: [Step by step NFT collection minting](/develop/dapps/tutorials/collection-minting)


### JavaScript

* Payment processing using JavaScript:
* [Create a key pair and a wallet](https://github.com/toncenter/examples/blob/main/common.js) (tonweb)
* [Accepting deposits to a single wallet](https://github.com/toncenter/examples/blob/main/deposits-single-wallet.js) (tonweb)
* [Accepting deposits to multiple wallets](https://github.com/toncenter/examples/blob/main/deposits.js) (tonweb)
* [Withdrawal process](https://github.com/toncenter/examples/blob/main/withdrawals.js) (tonweb)
* [Payment channel example](https://github.com/toncenter/payment-channels-example/blob/main/index.js) (tonweb)
* [TON Bridge front-end](https://github.com/ton-blockchain/bridge) (Vue.js, no comments)
* [Web Wallet source code](https://github.com/toncenter/ton-wallet) (tonweb, no comments)
* [Bot for sales of dumplings](/develop/dapps/tutorials/accept-payments-in-a-telegram-bot-js)


### Python

- [psylopank/pytonlib examples](https://github.com/psylopunk/pytonlib/tree/main/examples)
- [Transfer NFT & Jettons by creating a transfer message from the owner wallet](https://github.com/tonfactory/tonsdk#transfer-nft--jettons-by-creating-a-transfer-message-from-an-owner-wallet)
- [Create mnemonic, init wallet class, create an external message to deploy the wallet](https://github.com/tonfactory/tonsdk#create-mnemonic-init-wallet-class-create-external-message-to-deploy-the-wallet)
- [Storefront bot with payments in TON](/develop/dapps/tutorials/accept-payments-in-a-telegram-bot)
- [Bot with own balance](/develop/dapps/tutorials/accept-payments-in-a-telegram-bot-2)

### Go

- [10+ examples from xssnick/tonutils-go](https://github.com/xssnick/tonutils-go/tree/master/example)
- [7+ examples from tonkeeper/tongo](https://github.com/tonkeeper/tongo/tree/master/example)

### ZK

* [Simple ZK on TON](/develop/dapps/tutorials/simple-zk-on-ton)

### Wallets examples

- [Desktop standard wallet (C++ and Qt)](https://github.com/ton-blockchain/wallet-desktop)
- [Android standard wallet (Java)](https://github.com/ton-blockchain/wallet-android)
- [iOS standard wallet (Swift)](https://github.com/ton-blockchain/wallet-ios)
- [TonLib CLI (C++)](https://github.com/ton-blockchain/ton/blob/master/tonlib/tonlib/tonlib-cli.cpp)

### No necessary material?

You have 2 ways here: write tutorial by you own or describe the problem for the community.

<Button href="/contribute/participate"
colorType="primary" sizeType={'sm'}>
Contribute
</Button>
<Button href="https://github.com/ton-community/ton-docs/issues/new?assignees=&labels=feature+%3Asparkles%3A%2Ccontent+%3Afountain_pen%3A&template=suggest_tutorial.yaml&title=Suggest+a+tutorial" colorType={'secondary'} sizeType={'sm'}>Describe your idea</Button>
8 changes: 2 additions & 6 deletions docs/develop/dapps/apis/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# Overview
# API Types

**High availability blockchain APIs is the core element of secure, convenient and fast development of useful applications in TON.**

## API Types

- [TON Center API](/develop/dapps/apis/toncenter) — fast and reliable HTTP API for The Open Network. Based on tonlib allows to get all information about accounts, transactions and blocks.
- [TON HTTP API](https://tonapi.io/) — API that allows to work with the _indexed blockchain information_.
- [TON ADNL API](/develop/dapps/apis/adnl) — secure API to communicate TON, based on ADNL protocol.
Expand Down Expand Up @@ -250,7 +248,5 @@ curl -X 'GET' \

## See Also
* [TON Center API](/develop/dapps/apis/toncenter)
* [SDKs](/develop/dapps/apis/sdk)
* [SDKs](/develop/dapps/apis/sdk)
* [Apps Examples](/develop/dapps/examples)
* [List of SDKs](/develop/dapps/apis/sdk)
* [Smart Contract Examples](/develop/smart-contracts/examples)
22 changes: 0 additions & 22 deletions docs/develop/dapps/examples.md

This file was deleted.

68 changes: 5 additions & 63 deletions docs/develop/dapps/ton-connect/README.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Button from '@site/src/components/button'
import ThemedImage from '@theme/ThemedImage';

# Overview
# How TON Connect works

TON Connect is a communication protocol between **wallets** and **apps** in TON.

Expand All @@ -16,77 +16,19 @@ TON Connect is a communication protocol between **wallets** and **apps** in TON.
/>
<br></br>

## Bird's eye view

**Apps** built on TON provide rich functionality and high performance and are designed to protect user funds via smart contracts. Because apps are built using decentralized technologies such as Blockchain, they are typically called decentralized applications (dApps).

**Wallets** provide the UI to approving transactions and hold users’ cryptographic keys securely on their personal devices.
This separation of concerns enables rapid innovation and high level of security for the users: wallets do not need to build walled-garden ecosystems themselves, while the apps do not need to take the risk holding end users’ accounts.

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

<Button href="https://www.npmjs.com/package/@tonconnect/ui-react"
colorType="primary" sizeType={'sm'}>
Getting Started
</Button>
<Button href="/develop/dapps/ton-connect/integration" colorType={'secondary'} sizeType={'sm'}>Integration manual</Button>

## Third-Party TON Services Compatible with TON Connect 2.0

- [Getgems — The Open Network Marketplace](https://getgems.io/)
- [STON.fi — AMM DEX for TON blockchain](https://ston.fi/)
- [Tonstarter](http://tonstarter.com/)

<details>
<summary><b>Show the entire list</b></summary>

* [getgems.io](https://getgems.io/)
* [fragment.com](https://fragment.com/) (Ton Connect v.1)
* [ston.fi](https://ston.fi/)
* [ton.diamonds](https://ton.diamonds/)
* [beta.disintar.io](https://beta.disintar.io/)
* [tegro.finance](https://tegro.finance/liquidity)
* [minter.ton.org](https://minter.ton.org/)
* [libermall.com](https://libermall.com/)
* [dedust.io](https://dedust.io/swap)
* [toncap.net](https://toncap.net/)
* [cryptomus.com](https://cryptomus.com/)
* [avanchange.com](https://avanchange.com/)
* [wton.dev](https://wton.dev/)
* [mint.spiroverse.io/shop](https://mint.spiroverse.io/shop)
* [vk.com/vk_nft_hub](https://vk.com/vk_nft_hub)
* [tonverifier.live](https://verifier.ton.org/)
* [stickerface.io/member](https://stickerface.io/member)
* [tonstarter.com](https://tonstarter.com/)
* [cryptogas.shop/ton](https://cryptogas.shop/ton)
* [megaton.fi](https://megaton.fi/)
* [dns.ton.org](https://dns.ton.org/)
* [coinpaymaster.com](https://coinpaymaster.com/)
* [ton.gagarin.world/app/](https://ton.gagarin.world/app)
* [daolama.co](https://daolama.co/)
* [marketplace.playmuse.org](http://marketplace.playmuse.org/)
* [ton.vote](https://ton.vote/)
* [plane.tonfancy.io](https://plane.tonfancy.io/)
* [pi.oberton.io](https://pi.oberton.io/)
* [business.thetonpay.app](https://business.thetonpay.app/)
* [bridge.orbitchain.io](https://bridge.orbitchain.io/)
* [connecton-web-new.vercel.app](https://connecton-web-new.vercel.app/)
* [app.fanz.ee/staking](https://app.fanz.ee/staking)
* [testnet.pton.fi](https://testnet.pton.fi/)
* [tonft.app](https://tonft.app/)
* [cardify.casino](https://cardify.casino/)
* [4riends.org](https://4riends.org/#/)
* [tonflex.fi](https://tonflex.fi/swap)
* [soquest.xyz](https://soquest.xyz/)
* [app.evaa.finance](https://app.evaa.finance/)

</details>

## Why TON Connect?
## See also

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

## TON Connect Integration Manual

In order to integrate TON Connect with your application, please see our [integration manual](/develop/dapps/ton-connect/integration) detailing the main steps to carry out this process.
3 changes: 3 additions & 0 deletions docs/develop/dapps/ton-connect/best-practices.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Best Practices

TODO
Loading

0 comments on commit e74ecab

Please sign in to comment.