diff --git a/docs/develop/dapps/apis/README.md b/docs/develop/dapps/apis/README.md index 6c7859d650..3661c13e2b 100644 --- a/docs/develop/dapps/apis/README.md +++ b/docs/develop/dapps/apis/README.md @@ -73,4 +73,4 @@ Response body ## See Also * [TON HTTP API](/develop/dapps/apis/toncenter) * [List of SDKs](/develop/dapps/apis/sdk) -* [Smart Contract Examples](/develop/smart-contracts/examples) +* [TON Cookbook](/develop/dapps/cookbook) diff --git a/docs/develop/dapps/apis/sdk.mdx b/docs/develop/dapps/apis/sdk.mdx index 9545264aff..58b4fbd49b 100644 --- a/docs/develop/dapps/apis/sdk.mdx +++ b/docs/develop/dapps/apis/sdk.mdx @@ -26,12 +26,15 @@ The data provider is a [Liteserver](/participate/run-nodes/liteserver), which ca |[tonutils](https://github.com/thekiba/tonutils) | TypeScript | Native ADNL | TypeScript-based interface for building and interacting with applications in TON Ecosystem. | |[tonkite/adnl](https://github.com/tonkite/adnl) | TypeScript | Native ADNL / WebSocket | ADNL TypeScript implementation. | |[pytoniq](https://github.com/yungwine/pytoniq) | Python | Native ADNL | Python SDK with native LiteClient and other ADNL-based protocols implementations. | +| [tonpy](https://github.com/disintar/tonpy)| Python | Native ADNL | Python package that provides data structures and API to interact with TON blockchain. | +|[mytonlib](https://github.com/igroman787/mytonlib)| Python | Native ADNL | Native Python SDK library for working with The Open Network | |[TonSdk.NET](https://github.com/continuation-team/TonSdk.NET) | C# | Native ADNL | Native C# SDK for The Open Network. | |[tonlib-java](https://github.com/ton-blockchain/tonlib-java) | Java | Tonlib bin | JVM wrapper for TonLib that can be used with Java/Scala/Kotlin/etc.| |[justdmitry/TonLib.NET](https://github.com/justdmitry/TonLib.NET) | C# | Tonlib bin | .NET SDK for The Open Network| | [tonlib-rs](https://github.com/ston-fi/tonlib-rs) | Rust | Tonlib bin | Rust SDK for The Open Network| |[pytonlib](https://github.com/toncenter/pytonlib)| Python |Tonlib bin | This is standalone Python library based on libtonlibjson | | [example/cpp](https://github.com/ton-blockchain/ton/tree/master/example/cpp) | C++ | Tonlib | Tonlib C++ basic usage examples| +|[getgems-io/ton-grpc](https://github.com/getgems-io/ton-grpc)| Rust | Tonlib | Rust bindings for tonlibjson and services built on top of it | @@ -41,6 +44,7 @@ The data provider is a [Liteserver](/participate/run-nodes/liteserver), which ca |---------|----------|--------------| |[pytoniq-core](https://github.com/yungwine/pytoniq-core) | Python | Python powerful transport-free SDK | |[ayrat555/ton](https://github.com/ayrat555/ton) | Elixir | TON SDK for Elixir| +|[tvm_valuetypes](https://github.com/toncenter/tvm_valuetypes)| Python | library is collection of utilits for handling TVM types. | diff --git a/docs/develop/dapps/asset-processing/jettons.md b/docs/develop/dapps/asset-processing/jettons.md index 73af5815d4..adecf27847 100644 --- a/docs/develop/dapps/asset-processing/jettons.md +++ b/docs/develop/dapps/asset-processing/jettons.md @@ -144,7 +144,11 @@ Standardized tokens on TON are implemented using a set of smart contracts, inclu * Jetton master smart contract * Jetton wallet smart contracts -![](jetton_contracts.png) +

+
+ contracts scheme +
+

## Jetton master smart contract The jetton master smart contract stores general information about the jetton (including the total supply, a metadata link, or the metadata itself). diff --git a/docs/develop/dapps/cookbook.md b/docs/develop/dapps/cookbook.md index 26b9a7e589..6184eadf75 100644 --- a/docs/develop/dapps/cookbook.md +++ b/docs/develop/dapps/cookbook.md @@ -607,6 +607,9 @@ asyncio.run(main()) + + + To indicate that we want to include a comment, we specify 32 zero bits and then write our comment. We also specify the `response destination`, which means that a response regarding the successful transfer will be sent to this address. If we don't want a response, we can specify 2 zero bits instead of an address. ### How to send swap message to DEX (DeDust)? @@ -778,9 +781,13 @@ async def main(): asyncio.run(main()) +``` + + + ### How to use NFT batch deploy? Smart contracts for collections allow deploying up to 250 NFTs in a single transaction. However, it's essential to consider that, in practice, this maximum is around 100-130 NFTs due to the computation fee limit of 1 ton. To achieve this, we need to store information about the new NFTs in a dictionary. diff --git a/docs/develop/dapps/ton-connect/developers.md b/docs/develop/dapps/ton-connect/developers.md index 290af1d6c2..2d0e685321 100644 --- a/docs/develop/dapps/ton-connect/developers.md +++ b/docs/develop/dapps/ton-connect/developers.md @@ -85,6 +85,8 @@ This package contains protocol requests, protocol responses, event models and en ## TON Connect Python +### pytonconnect + Python SDK for TON Connect 2.0. Analogue of the `@tonconnect/sdk` library. Use it to connect your app to TON wallets via TonConnect protocol. @@ -96,6 +98,16 @@ pip3 install pytonconnect - [GitHub](https://github.com/XaBbl4/pytonconnect) +### ClickoTON-Foundation tonconnect + +Library for connecting TON Connect to Python apps + +```bash +git clone https://github.com/ClickoTON-Foundation/tonconnect.git +pip install -e tonconnect +``` + +[GitHub](https://github.com/ClickoTON-Foundation/tonconnect) ## TON Connect Dart diff --git a/docs/develop/smart-contracts/examples.md b/docs/develop/smart-contracts/examples.md index 0ca12499cb..b107a02b98 100644 --- a/docs/develop/smart-contracts/examples.md +++ b/docs/develop/smart-contracts/examples.md @@ -29,7 +29,7 @@ Make sure you have thoroughly tested contracts before using them in a production ### Ecosystem Contracts | Contracts | Description | -| --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | +| --------------------------------------------------------------------------------------------------------------- |--------------------------------------------------------------------------------------------------------------------| | [telemint](https://github.com/TelegramMessenger/telemint)
🪄 [Run in WebIDE](https://ide.nujan.io/?importURL=https://github.com/TelegramMessenger/telemint&name=telemint) | Telegram Usenames(`nft-item.fc`) and Telegram Numbers(`nft-item-no-dns.fc`) contracts. | | [WTON](https://github.com/TonoxDeFi/WTON)
🪄 [Run in WebIDE](https://ide.nujan.io/?importURL=https://github.com/TonoxDeFi/WTON&name=WTON) | This smart contract provides an implementation of wrapped toncoin, called WTON | | [capped-fungible-token](https://github.com/TonoxDeFi/capped-fungible-token)
🪄 [Run in WebIDE](https://ide.nujan.io/?importURL=https://github.com/TonoxDeFi/capped-fungible-token&name=capped-fungible-token) | Basic implementation of smart contracts for Jetton wallet and Jetton minter | @@ -50,6 +50,7 @@ Make sure you have thoroughly tested contracts before using them in a production | [ston-fi/contracts](https://github.com/ston-fi/dex-core/tree/main/contracts)
🪄 [Run in WebIDE](https://ide.nujan.io/?importURL=https://github.com/ston-fi/dex-core/tree/main/contracts&name=ston-fi/contracts) | Stonfi DEX core contracts | | [onda-ton](https://github.com/0xknstntn/onda-ton)
🪄 [Run in WebIDE](https://ide.nujan.io/?importURL=https://github.com/0xknstntn/onda-ton&name=onda-ton) | Onda Lending Pool - Core smart contracts of the first lending protocol on TON | | [ton-stable-timer](https://github.com/ProgramCrafter/ton-stable-timer)
🪄 [Run in WebIDE](https://ide.nujan.io/?importURL=https://github.com/ProgramCrafter/ton-stable-timer&name=ton-stable-timer) | TON Stable Timer contract | +|[HipoFinance/contract](https://github.com/HipoFinance/contract)
🪄 [Run in WebIDE](https://ide.nujan.io/?importURL=https://github.com/HipoFinance/contract&name=HipoFinance) | hTON is a decentralized, permission-less, open-source liquid staking protocol on TON Blockchain | ### Learning Contracts diff --git a/docs/participate/wallets/apps.mdx b/docs/participate/wallets/apps.mdx index 7bf2f915ac..cb7a307c20 100644 --- a/docs/participate/wallets/apps.mdx +++ b/docs/participate/wallets/apps.mdx @@ -12,10 +12,10 @@ This article describes wallets from a developmental perspective. The end goal is If you want to find a wallet to install, open [ton.org/wallets](https://ton.org/wallets). -## Non-custodial wallets +## Non-Custodial Software (Hot) Wallets :::info -With a non-custodial wallet, the user owns the wallet and holds its private key by themselves. +A Software wallet, more often known as a hot wallet, operates as software on a host device and they store your private keys within its interface. Mostly, these wallets are non-custodial, meaning they give you custody of your keys. ::: Here are some non-custodial wallets for TON Blockchain: @@ -174,6 +174,30 @@ To switch MyTonWallet to Testnet: open Settings and by clicking 5 times on the a - [MyTonWallet Telegram](https://t.me/MyTonWalletRu) +## Non-Custodia Hardware (Cold) Wallets + +:::info +A hardware wallet is a physical device that stores the private keys to your cryptocurrency funds away from the internet. Even if you make transactions with it, the wallet confirms the transactions in an offline environment. This process helps keep your private keys away from the risks of the internet at all times. +::: + + +### Ledger + +[Ledger](https://www.ledger.com/) hardware wallets with Ledger Live app. + +#### Links + +- [Ledger](https://www.ledger.com/) official site +- [Ledger TON Blogpost](https://blog.ton.org/ton-is-coming-to-ledger-hardware-wallets) + +### SafePal + +[SafePal](https://www.safepal.com/en/) is your gateway to the rapidly expanding galaxy of decentralized applications. + +#### Links + +- [SafePal](https://www.safepal.com/en/) official site + ## Custodial wallets :::info diff --git a/static/img/docs/asset-processing/jetton_contracts.svg b/static/img/docs/asset-processing/jetton_contracts.svg new file mode 100644 index 0000000000..3eadacaeb0 --- /dev/null +++ b/static/img/docs/asset-processing/jetton_contracts.svg @@ -0,0 +1,260 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Jetton Contracts + + + + + On-page reference.132 + Bob Wallet v3 + + + + + + + BobWallet v3 + + On-page reference.116 + + + + + + + Sheet.24 + Smart Contract + + + + Smart Contract + + On-page reference.30 + + + + + + + Sheet.31 + Bob Jetton wallet A + + + + Bob Jetton wallet A + + Actor + + + + + + + On-page reference.40 + Bob + + + + Bob + + Actor.44 + + + + + + + On-page reference.45 + Alice + + + + Alice + + On-page reference.46 + Alice Wallet v4 + + + + + + + Alice Wallet v4 + + On-page reference.47 + + + + + + + Sheet.50 + Alice Jetton wallet A + + + + Alice Jetton wallet A + + On-page reference.71 + + + + + + + Sheet.72 + Bob Jetton wallet B + + + + Bob Jetton wallet B + + On-page reference.73 + + + + + + + Sheet.74 + Alice Jetton wallet B + + + + Alice Jetton wallet B + + On-page reference.75 + + + + + + + Sheet.76 + Jetton A Master + + + + Jetton A Master + + On-page reference.77 + + + + + + + Sheet.78 + Jetton B Master + + + + Jetton B Master + + Actor.79 + + + + + + + Sheet.80 + Actor + + + + Actor + + diff --git a/static/schemes-visio/message_processing.vsdx b/static/schemes-visio/message_processing.vsdx index c2ddb07620..a6cf0ac818 100644 Binary files a/static/schemes-visio/message_processing.vsdx and b/static/schemes-visio/message_processing.vsdx differ diff --git a/static/schemes-visio/~$$message_processing.~vsdx b/static/schemes-visio/~$$message_processing.~vsdx deleted file mode 100644 index 7b013c3575..0000000000 Binary files a/static/schemes-visio/~$$message_processing.~vsdx and /dev/null differ