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

.ton subdomain management, telegram bot and showcase on python #410

Closed
2 tasks done
nessshon opened this issue Jan 7, 2024 · 6 comments
Closed
2 tasks done

.ton subdomain management, telegram bot and showcase on python #410

nessshon opened this issue Jan 7, 2024 · 6 comments
Labels
Developer Tool Related to tools or utilities used by developers

Comments

@nessshon
Copy link
Contributor

nessshon commented Jan 7, 2024

Summary

The idea was to create a detailed Python tutorial and a Telegram bot for managing .ton / .t.me subdomains. Based on a smart contract from repository simple-subdomain. This will simplify the interaction process for both developers and ordinary users.

Context

Many people wonder how to create subdomains for .ton domains. At the moment, only one resource is available - the repository at simple-subdomain. However, even when using this resource, many developers encounter problems. If developers have questions, then it’s even more difficult for ordinary users.

I have prepared a repository ton-subdomain which includes:

  • Telegram bot to simplify interaction with subdomains for ordinary users.
    - Deploying a smart contract and setting up a website, storage and TON wallet address.
    - TON-Connect integration
    - Multilingual support
    - Support testnet and mainnet
  • Detailed guide and scripts for creating and managing subdomains using Python.

What was done:

References

Estimate suggested reward

  • SBT Bounty Reward
  • 1100 USD in TON
  • Hosting fee per year - 60 USD in TON Hosted next to aiogram-tonconnect
@nessshon nessshon added the Developer Tool Related to tools or utilities used by developers label Jan 7, 2024
@howardpen9
Copy link

how to use the bot?

https://github.com/tonmendon/ton-subdomain

@howardpen9
Copy link

Hi, can you explain with me what is the successful subDomain looks like? And why that is important? Where can we show it?

@nessshon
Copy link
Contributor Author

nessshon commented Jan 9, 2024

Hello @howardpen9,

The subdomain is important because it allows users to link the address of the wallet, TON site and TON Storage to a unique subdomain. For example, you can use alternatives such as wallet.nessshon.t.me or ness.republic-mendon.ton.

These subdomains can similarly be inserted into Tonkeeper or any other compatible wallet instead of the wallet address. In addition, these subdomains work easily in explorers.

Here are examples of subdomains created by the bot:

@ProgramCrafter
Copy link
Contributor

May I ask if hosting fee is justified by bot load, or if a cheaper (perhaps free) service could be used?

From the top of my head, I guess you can use PythonAnywhere free tier and attach webhook there, so $60/year seems quite strange.

@nessshon
Copy link
Contributor Author

nessshon commented Mar 4, 2024

@ProgramCrafter, thank you for your inquiry. When choosing hosting for the bots, I considered the minimum cost at the provider I personally use (aeza), where the minimum VPS costs €4.94 per month. In addition, based on past requests for hosting fees in similar bounties, the $60 annual fee did not raise any questions.

There are options to consider more budget-friendly alternatives, such as the PROMO plan at aeza for €1.09 per month (although it is often unavailable) or a VPS at beget for $2.29 per month.

As for the free PythonAnywhere, I haven't personally used it, but judging by the feedback from the bot developer community, the reviews of the free tier are not the most positive, so I'm not considering it.

I want to emphasize that the annual hosting fee is not mandatory; rather, it serves as a guarantee that the bot will work for the community for a year. The bot is currently hosted on my server, but I cannot guarantee its uninterrupted operation for a long time.

@delovoyhomie
Copy link
Collaborator

Thank you for your initiative. It would be great to have a subdomain manager right in dns.ton.org, or at least as a separate website. A Python showcase might be useful, but perhaps not to that extent.
Maybe in the future, we'll revisit the issue, but for now, we want to implement this on our own internally.

@delovoyhomie delovoyhomie closed this as not planned Won't fix, can't repro, duplicate, stale Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Developer Tool Related to tools or utilities used by developers
Projects
None yet
Development

No branches or pull requests

4 participants