Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch 5 #14

Merged
merged 2 commits into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Introduction

:::info
For clear understanding, the reader should be familiar with the basic principles of asset processing described in [payments processing section](/v3/guidelines/dapps/asset-processing/payments-processing) and [jetton processing](/v3/guidelines/dapps/asset-processing/jettons).
For a clear understanding, the reader should be familiar with the basic principles of asset processing described in [payments processing section](/v3/guidelines/dapps/asset-processing/payments-processing) and [jetton processing](/v3/guidelines/dapps/asset-processing/jettons).
:::

The TON blockchain ecosystem has introduced an innovative extension to the Jetton standard called [Mintless Jettons](https://github.com/ton-community/mintless-jetton?tab=readme-ov-file).
Expand All @@ -14,13 +14,13 @@ This extension enables decentralized, [Merkle-proof](/v3/documentation/data-form

Mintless Jettons - are an extension ([TEP-177](https://github.com/ton-blockchain/TEPs/pull/177) and [TEP-176](https://github.com/ton-blockchain/TEPs/pull/176)) of the standard Jetton implementation ([TEP-74](https://github.com/ton-blockchain/TEPs/blob/master/text/0074-jettons-standard.md)) on the TON blockchain.

This implementation allows for large-scale, decentralized airdrops to millions of users without incurring significant costs or adding excessive load to the blockchain.
This implementation enables large-scale, decentralized airdrops to millions of users without incurring significant costs or adding excessive load to the blockchain.

### Basic Features

- **Scalability**: Traditional minting processes can be resource-intensive and costly when distributing tokens to a vast number of users.
- **Efficiency**: By utilizing Merkle trees, Mintless Jettons store a single hash representing all airdropped amounts, reducing storage requirements.
- **User-Friendly Airdrops**: Users immediately have their jettons ready to use—send, swap, and so on—without any preparatory steps like withdrawal or claim. It just works!
- **User-Friendly Airdrops**: Users have their jettons ready to use immediately—send, swap, and more—without any preparatory steps like withdrawal or claim!

## Supporting Mintless Jettons in On-Chain Protocols

Expand Down
6 changes: 3 additions & 3 deletions docs/v3/guidelines/dapps/cookbook.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ async def main():
}

await wallet.transfer(**transfer)
await client.close_all()
await provider.close_all()

asyncio.run(main())
```
Expand Down Expand Up @@ -606,7 +606,7 @@ async def main():
stack=[begin_cell().store_address(USER_ADDRESS).end_cell().begin_parse()])
jetton_wallet = result_stack[0].load_address()
print(f"Jetton wallet address for {USER_ADDRESS}: {jetton_wallet.to_str(1, 1, 1)}")
await provider.close_all()
await provider.close_all()

asyncio.run(main())
```
Expand Down Expand Up @@ -862,7 +862,7 @@ async def main():
.end_cell())

await wallet.transfer(destination=USER_JETTON_WALLET, amount=int(0.05*1e9), body=transfer_cell)
await provider.close_all()
await provider.close_all()

asyncio.run(main())
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ async def main():


await wallet.transfer(destination=DESTINATION_ADDRESS, amount=int(0.05*1e9), body="转账示例内容")
await client.close_all()
await provider.close_all()

asyncio.run(main())
```
Expand Down Expand Up @@ -444,7 +444,7 @@ async def main():
stack=[begin_cell().store_address(USER_ADDRESS).end_cell().begin_parse()])
jetton_wallet = result_stack[0].load_address()
print(f"用户{USER_ADDRESS}的Jetton钱包地址: {jetton_wallet.to_str(1, 1, 1)}")
await provider.close_all()
await provider.close_all()

asyncio.run(main())
```
Expand Down Expand Up @@ -597,7 +597,7 @@ async def main():
.end_cell())

await wallet.transfer(destination=USER_JETTON_WALLET, amount=int(0.05*1e9), body=transfer_cell)
await client.close_all()
await provider.close_all()

asyncio.run(main())
```
Expand Down
Loading