Skip to content

Commit

Permalink
Merge pull request ton-community#452 from reveloper/weekly_update_1
Browse files Browse the repository at this point in the history
Weekly update 1
  • Loading branch information
reveloper authored Jan 8, 2024
2 parents c7a6c32 + 424cfa4 commit 863eda3
Show file tree
Hide file tree
Showing 10 changed files with 317 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/develop/dapps/apis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
4 changes: 4 additions & 0 deletions docs/develop/dapps/apis/sdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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 |



Expand All @@ -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. |



Expand Down
6 changes: 5 additions & 1 deletion docs/develop/dapps/asset-processing/jettons.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
<p align="center">
<br />
<img width="520" src="/img/docs/asset-processing/jetton_contracts.svg" alt="contracts scheme" />
<br />
</p>

## 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).
Expand Down
7 changes: 7 additions & 0 deletions docs/develop/dapps/cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,9 @@ asyncio.run(main())

</Tabs>




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)?
Expand Down Expand Up @@ -778,9 +781,13 @@ async def main():

asyncio.run(main())

```
</TabItem>
</Tabs>




### 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.
Expand Down
12 changes: 12 additions & 0 deletions docs/develop/dapps/ton-connect/developers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion docs/develop/smart-contracts/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) <br /> <small>🪄 [Run in WebIDE](https://ide.nujan.io/?importURL=https://github.com/TelegramMessenger/telemint&name=telemint)</small> | Telegram Usenames(`nft-item.fc`) and Telegram Numbers(`nft-item-no-dns.fc`) contracts. |
| [WTON](https://github.com/TonoxDeFi/WTON) <br /> <small>🪄 [Run in WebIDE](https://ide.nujan.io/?importURL=https://github.com/TonoxDeFi/WTON&name=WTON)</small> | This smart contract provides an implementation of wrapped toncoin, called WTON |
| [capped-fungible-token](https://github.com/TonoxDeFi/capped-fungible-token) <br /> <small>🪄 [Run in WebIDE](https://ide.nujan.io/?importURL=https://github.com/TonoxDeFi/capped-fungible-token&name=capped-fungible-token)</small> | Basic implementation of smart contracts for Jetton wallet and Jetton minter |
Expand All @@ -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) <br /> <small>🪄 [Run in WebIDE](https://ide.nujan.io/?importURL=https://github.com/ston-fi/dex-core/tree/main/contracts&name=ston-fi/contracts)</small> | Stonfi DEX core contracts |
| [onda-ton](https://github.com/0xknstntn/onda-ton) <br /> <small>🪄 [Run in WebIDE](https://ide.nujan.io/?importURL=https://github.com/0xknstntn/onda-ton&name=onda-ton)</small> | Onda Lending Pool - Core smart contracts of the first lending protocol on TON |
| [ton-stable-timer](https://github.com/ProgramCrafter/ton-stable-timer) <br /> <small>🪄 [Run in WebIDE](https://ide.nujan.io/?importURL=https://github.com/ProgramCrafter/ton-stable-timer&name=ton-stable-timer)</small> | TON Stable Timer contract |
|[HipoFinance/contract](https://github.com/HipoFinance/contract) <br /> <small>🪄 [Run in WebIDE](https://ide.nujan.io/?importURL=https://github.com/HipoFinance/contract&name=HipoFinance)</small> | hTON is a decentralized, permission-less, open-source liquid staking protocol on TON Blockchain |

### Learning Contracts

Expand Down
28 changes: 26 additions & 2 deletions docs/participate/wallets/apps.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
Loading

0 comments on commit 863eda3

Please sign in to comment.