Last updated 2 years ago
DApps having to poll the blockchain to check status of transactions is not time efficient and involves duplicated work.
Develop a service that offers transaction monitoring which dApps can subscribe for, to get call backs about on chain transactions status.
This is the total amount allocated to Transaction monitoring as a service.
Need for this solution:
Every dApp on Cardano has use cases to make transactions with ADA or native assets.
Once a transaction is initiated it gets added to the mempool and from then there is a delay by which the transaction is on chain and gets added into a block accepted by the network. In such situations the dApp is waiting for an update on the transaction.
Common approaches used by dApps to get an update on transaction status are
1. Both the approaches above are inefficient.
The first approach, thought it employs an automated process has the following disadvantages:
The second approach avoids periodic query to the blockchain but it comes with the trade off of
2. Though there are different ways to query the blockchain, dApps usually use a third party service to save on integration costs and related code on the dApp side. If the dApp needs to switch to a different query service in future for considerations like performance or cost, additional development work might be needed on the dApp side.
This solution is to solve the above drawbacks.
How it works:
Please see this diagramatic illustration also.
Benefits of this solution:
We have highlighted savings through better time efficiency for tracking transactions enabled by proactive call back to the dAapp as well as better cost efficiency of dApp development by avoiding duplicated development work. There are 500+ projects being developed in Cardano today and will likely have thousands more especially once the scaling solutions are implemented. The time & cost savings that can be achieved as a whole for the ecosystem of dApp on Cardano with this solution is big.
Use cases:
Usable in all cases where a transaction is to be tracked by a dApp. In the case of marketplaces where users make purchases with ADA, the marketplace backend should ideally check that the transaction has been confirmed before issuing the purchase (NFT, native tokens or other items). DEXes can use this solution for more efficient transaction monitoring to improve their transaction pipelines. Similarly token faucets and other dApps can also make use of this service.
Design considerations:
Sustainability
Future scope:
The outcome of this project is to provide service to dApps for monitoring on chain status of transactions, improve time efficiency of dApp operation through proactive call backs, avoid duplicated development effort for dApps and reduce costs by pooling of resources across dApps.
We believe the outcome suits the intent of this ‘Developer Ecosystem’ challenge.
The guiding question of this challenge that this project aligns to is ‘What are enterprise dev managers looking for in order to be able to build out enterprise projects - either internal or commercial?’
The key metric of this challenge is to check whether it has made it easier for developers to build on top of Cardano? This project of ours, like many other good proposals, will do exactly that by helping achieve better productivity and costing for their dApp development on Cardano.
Health challenges like Covid can reduce availability of human resources and delay our delivery timeline.
The development (and launch) timeframe will span 4 months divided into 8 sprints. As indicated previously, the components will be modularised. This allows for parallely development and testing of various modules in the first two months and subsequently composition to form the larger service in the third month. Depending on when the voting results are announced we may be able to start off in May/June.
High level architecture is as per the diagramatic illustration. We will prepare a formally designed and reviewed architecture.
Roadmap
Sprints 1 - 2 : (expected June 2022)
Sprints 3 - 4 : (July 2022)
Sprints 5 - 6 : (August 2022)
Sprints 7 - 8 : (September 2022)
~ October - December 2022
2023 +
Budget
The following are our expenses:
Total = $49000
We are a team of experienced Software Engineers, Plutus and Prism Pioneers, Gimbalabs PPBL member, members of a delivered Fund 6 project, funded proposer from Fund 7 as well as an ambassador in the Cardano ecosystem. Notable projects on Cardano where our teammates are part of the development team are:
We have been building in Cardano for close to a year. We have developed various open source repositories for Plutus/Cardano which can be found in our Github repo added in this proposal.
Reshma Mohan
LinkedIn: https://www.linkedin.com/in/reshmhn/
Twitter: https://twitter.com/reshmhn
Karthik Vishwanathan
LinkedIn: https://www.linkedin.com/in/karthik-viswanathan-90614052
Ganesh N
Github: https://github.com/gannith
We have illustrated the solution in previous sections. Progress of the development will be measured by tracking the milestones listed in the roadmap.
Agile methodology will be adopted for the development. Each module to be developed will be mapped to its work breakdown structure and assigned to sprints spanning 2 or 3 weeks.
Our success metrics are as follows.
In 1 month:
At least 2 dApps using the service on testnet.
In 3 months:
At least 2 dApps using the serivice on mainnet and 10 dApps on testnet using the service.
In 6 months:
At least 10 dApps using the service on mainnet.
In 12 months:
Wide adoption as the de facto solution for transaction monitoring for dApps.
KPIs
This is a new proposal.
SDG goals:
Goal 8. Promote sustained, inclusive and sustainable economic growth, full and productive employment and decent work for all
Goal 9. Build resilient infrastructure, promote inclusive and sustainable industrialization and foster innovation
SDG subgoals:
8.2 Achieve higher levels of economic productivity through diversification, technological upgrading and innovation, including through a focus on high-value added and labour-intensive sectors
9.4 By 2030, upgrade infrastructure and retrofit industries to make them sustainable, with increased resource-use efficiency and greater adoption of clean and environmentally sound technologies and industrial processes, with all countries taking action in accordance with their respective capabilities
Key Performance Indicator (KPI):
9.4.1 CO2 emission per unit of value added
#proposertoolsdg
NB: Monthly reporting was deprecated from January 2024 and replaced fully by the Milestones Program framework. Learn more here
Team of Software engineers / Plutus Pioneers, Gimbalabs PPBL member, with delivered projects from Fund 6, funded and ongoing projects from Fund 7.