Unanswered
What does "dns_storage_address#7473 bag_id:uint256 = DNSRecord;" mean?
Have seen this: https://ton.org/docs/participate/ton-storage/storage-faq#how-to-host-static-ton-site-in-ton-storage-low-level
dns_storage_address#7473 bag_id:uint256 = DNSRecord;
Looks like need to assign bag_id to the sha256 of "site" ("site"H) DNS record?
Possibly it can be achieved with TonWeb lib like this?
const bagId = new TonWeb.utils.StorageBagId(value)
record = TonWeb.dns.createStorageBagIdRecord(bagId)
setTx(TonWeb.dns.DNS_CATEGORY_SITE, record)
Any other ways to implement other than TonWeb lib?
1K Views
0
Answers
one year ago
one year ago
Tags