Dappy is developping a no-DNS web browser and name system, the only one in the world to be based on co-resolution instead of single resolution. We are also developing tools related to RChain technology (the blockchain we are building onto), and smart contracts. Here we’d like to share thoughts and experience on the need we have to monitor onchain data, and how we solved it.
Keeping track of onchain events
Blockchain is a very cool tech, most of the blockchain platforms keep track of everything that happened by storing all the blocks: who sent tokens to who, at what time, how much etc… But blockchains also often have the issue of making this data easily accessible by third party clients, it is not that easy. Many projects offer additional services, and allow you to search the blockchain, query some precise things, at a precise time.
Dappy is developped on RChain technology, which is a scalable, highly concurrent blockchain platform, in order for us to have a name system on the blockchain, we developped RChain token, it is a open source unified smart contract interface for exchanging, issuing, selling fungible and non-fungible tokens on RChain.
Our name system will work in a very similar way to NFT smart contracts on other platforms, we also have the unique feature of tokens with expiration, which allows us to express subscriptions as NFTs.
Nevertheless, like almost every other blockchain powered project, we had this precise problem. How to monitor the use of the token contracts? how much purchase are there per day? what is the volume in REV?
Logging in RChain token
We had to develop additionnal capabilities. This is basically the logging on RChain token. Every contract by default keeps track of the recent trading activity and logs what happened in a long string, that is limited in size. Then as a service (dappy is a service) that uses RChain, we just have to poll this data regularly, and store the logs offchain. This way we have a complete genesis-to-now view of the trading activities on the contracts that matter to us (the name system NFT contract).
This allows us to get metrics that can be easily digested by any member of the company, and also display user friendly trading activity feeds on the dappy browser homepage, as well as on the website later.
Dappy is developping a no-DNS web browser and name system, the only one in the world to be based on co-resolution instead of single resolution.
We provide free assistance for companies that wish to try dappy, you can reach out to us by email contact[at]fabco.tech or through the dappy.tech/hello form.