There may be several ways to implement such logic.
If each subscriber has his own smart contact, you can simply save a list of his subscriptions in the data of this contract. But note that in this case, as the number of subscriptions becomes bigger, all operations with them will become quite expensive.
Answered
What is the best way to store the "who follows who" data with TON smart contracts?
Suppose there is a web3 blog platform where people follow specific writers. Each follower has its own smart contract. Usually data such as "X follows Y" would go to a database, but in web3 we want it to be decentralized and on-chain. What is the best way to store such information?
This question was imported from Telegram Chat: https://t.me/tondev/114286
15K Views
1
Answer
one year ago
one year ago
Tags