温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bee.com/zh_cn/52951.html
点击访问原文链接

How to access the website on-chain | Bee Network

How to access the website on-chain | Bee Network Login 热门新闻 备忘录启动板 人工智能代理 德西 TopChainExplorer 给 Newbee 100 倍金币 蜜蜂游戏 重要网站 必备应用程序 加密货币名人 德平 新手必备 陷阱探测器 基本工具 高级网站 交流 NFT 工具 你好、, 签出 Web3 宇宙 游戏 DApp 蜂巢 成长平台 生态 搜索 英语 充值金币 登录 下载 Web3 大学 游戏 DApp 蜂巢 生态 分析•How to access the website on-chain How to access the website on-chain分析8个月前更新怀亚特 24,867 24

A recent incident made me rethink the traditional domain name access service. We have always believed that the domain name resolution service is very stable, but it sometimes has problems. This makes me wonder if a decentralized solution might be an alternative worth exploring?

After thinking about it, deploying pages on the blockchain may have the following benefits:

1. Decentralization: All modifications require the joint consent of everyone, and no single organization has the final say.

2. No certificate required: Because the blockchain itself uses encryption technology, no additional certificate configuration is required.

I have seen the domain name scheme on TON before, and I thought it was just fun and not very practical at the time, after all, the traditional access method is already very stable and commonly used. But now I think it may really be useful, so I plan to study it more carefully.

Creating a website on the blockchain

This article will try to deploy a website in TON and allow users to access this page in the browser. The process is divided into three steps: 1. Purchase a domain name; 2. Prepare the front-end page; 3. Bind the page to the domain name.

The concepts of domain names in the blockchain and in the WEB2 world are actually similar. They are both aliases for a complex and difficult to remember address. In the blockchain, they represent the users address, and in WEB2, they represent the IP address of the service.

Buy a domain

Taking TON as an example, the official purchase address of domain names is https://dns.ton.org/ , and the price is calculated in TON. Like WEB2, the shorter the characters, the more expensive the domain name, ranging from 1 to 100 TON.

If the domain name is not owned by anyone, you can bid at a low price, and after bidding, a countdown will begin. During the countdown, everyone can bid until the countdown ends. After the domain name is auctioned, the domain name will be stored in the users wallet in the form of NFT. Domain name NFT can be traded. The domain name is valid for 1 year and will be reclaimed after expiration.

To sum up, you can purchase a domain name through auction on the official website or trade it from other users.

Prepare the front-end page

In this step, you need to prepare a front-end page for display. For simplicity, this article only prepares an HTML file plus nginx to expose the page. Of course, the project also needs a cloud server to run the front-end page. This step is the same as traditional front-end application deployment.

Bind the page to .ton

After you have a .ton domain name, you can bind your ANDL address on the TON DNS official website. Of course, you can also use the binding tool provided by TON and follow the instructions on the official website to bind your page.

After the binding is completed, you also need to start a listening port on the server to listen to http requests and forward them to udp. Here you can use the official rldp-http-proxy tool and start it by entering the following command:

rldp-http-proxy/rldp-http-proxy -p 8080 -c 3333 -C global.config.json

Where 8080 is the TCP port that will listen for incoming HTTP queries on the local host, and 3333 is the UDP port that will be used for all outbound and inbound RLDP and ADNL activity (i.e. connecting to the TON website through the TON network). global.config.json is the file name of the TON global configuration, which can be downloaded here .

Visit .ton domains

Trying to access a website by typing the .ton domain name directly in the browser will not work, because the browser does not know where to resolve the domain name. So some additional operations are required here.

The process of requesting .ton

When requesting a .ton domain name, the corresponding ANDL address will be queried on the chain first. This address can be simply understood as the IP address in WEB2, which will be automatically generated when you deploy the website. This query process can also be compared to the DNS query process.

Then, according to the ANDL address, the request will be forwarded to your corresponding machine, and you can specify the corresponding returned page. The overall process is quite similar to WEB2, the main difference is that the query method of address and domain name mapping is different.

Accessing the page through a proxy

The most recommended way is to use the proxy tool Tonutils Reverse Proxy provided by the official website. After downloading and installing it, a port 8080 will be started for proxy, and then you can access the .ton domain name.

You can see that you can access websites with .ton domain names.

Usage Summary

At present, the following problems have been encountered:

There are requirements for the environment in which the website runs. Your system needs to support glibc version 2.34 or above, so before deploying the page, check whether your machine meets the requirements.

The documentation is not very clear. It may be because there is not much demand for this TON to run the website, so the documentation is not very complete and you need to explore it yourself. In addition, the Chinese version is not updated in a timely manner and lags behind the English version.

The access speed is slow. The access speed lags behind that of traditional websites. Of course, there are many factors involved, and we can only say that there is a lot of room for improvement in the future.

It is not supported by the wallet. The official website provides a simple embedded browser page, which you can choose to access without installing a proxy. However, this website is currently identified as a phishing website by all mainstream wallets.

All in all, the current experience is actually average, and there are still many areas that can be improved in the future, but I think this direction is very good and innovative, and it鈥檚 worth a try.

This article is sourced from the internet: How to access the website on-chain

Related: Gate Research Institute: From general to special, how does Game Chain reshape the Web3 gaming ecosystem? Preface In the early narrative of the Web3 industry, GameFi is second only to DeFi, and is the second independent narrative that has reached industry consensus and established logic. In the early days, the public game chain was not an independent concept, and the game distribution platform dominated the development of chain games. Before 2020, most Web3 games used Ethereums smart contracts to realize the purchase and sale of NFT equipment. Play-to-Earn is the first demand of most players, so the game experience is often put second. In Web2 games, game performance will drive the upgrading of personal console performance. In 2017, PlayerUnknowns Battlegrounds led gamers to upgrade their console graphics cards to RTX 1050 or above, and in 2021, Cyberpunk 2077 allowed players to upgrade their game graphics cards…

#分析# 导轨# 工具# web3© 版权声明文章版权归作者所有,未经允许请勿转载。 上一篇 Byreal Reset Launch first phase launched: mechanics detailed and steps to participate 下一篇 Resupply incident review: Hackers at large, users forced to fill holes, security incident turns into racial discriminati 相关文章 20 billion liquidation day: How did the dominoes of “revolving loans” fall? 6086cf14eb90bc67ca4fc62b 26,396 Understanding RaveDAO: Building a Cultural Layer for Cryptocurrencies 6086cf14eb90bc67ca4fc62b 17,212 1 Binance Alpha star GriffinAI suffered a cross-chain hijack: a malicious issuance of 5 billion tokens caused a 99% price 6086cf14eb90bc67ca4fc62b 19,332 1 Weekly Editor’s Picks (0124-0130) 6086cf14eb90bc67ca4fc62b 8,070 IOSG Ventures:DePayFi,任何资产都能随时随地增值 6086cf14eb90bc67ca4fc62b 43,010 2 Exponential Thinking in Crypto: Leverage, Asymmetric Bets, and Personal Growth 6086cf14eb90bc67ca4fc62b 38,974 2 无评论 您必须登录后才能发表评论! 立即登录 没有评论... 最新文章 Did Jane Street “Manipulate” BTC? Decoding the AP System, Understanding the Power Struggle Behind ETF Creation and Redemption Pricing 16 小时前 537 Stop Comparing Bitcoin to Gold—It’s Now a High-Volatility Software Stock 16 小时前 654 Matrixport Research: $25 Billion Gamma Unwinding Imminent, Liquidity Yet to Return Behind the Rebound 16 小时前 599 ERC-5564: Ethereum’s Stealth Era Has Arrived, Receiving Addresses No Longer ‘Exposed’ 16 小时前 527 Hong Kong Regulatory Green Light: Asseto Enables DL Holdings to Achieve Compliance for Two RWA Business Implementations 16 小时前 576 热门网站TempoLighterGAIB滑翔机普朗克雷尔斯BCPokerVooi Bee.com 全球最大的 Web3 门户网站 合作伙伴 硬币卡 Binance CoinMarketCap CoinGecko Coinlive 装甲 下载蜜蜂网络APP,开始web3之旅 白皮书 角色 常见问题 © 2021-2026.保留所有权利。. 隐私政策 | 服务条款 下载蜜蜂网络 APP 并开始 web3 之旅 全球最大的 Web3 门户网站 合作伙伴 CoinCarp Binance CoinMarketCap CoinGecko Coinlive Armors 白皮书 角色 常见问题 © 2021-2026.保留所有权利。. 隐私政策 | 服务条款 搜索 搜索InSite链上社会新闻 热门推荐: 空投猎人 数据分析 加密货币名人 陷阱探测器 简体中文 English 繁體中文 日本語 Tiếng Việt العربية 한국어 Bahasa Indonesia हिन्दी اردو Русский 简体中文

智能索引记录