Last updated 6 months ago
Improving Cardano smart contracts is the most known way for Cardano to enter into a partnership with The Graph. This problem can be solved through the partnership between Midnight and OpenZeppelin.
Due to the partnership between Midnight and Open Zeppelin there may be a way to improve the use of Cardano smart contracts. This will help eliminate the problems of interoperability with The Graph.
This is the total amount allocated to Midnight and Open Zeppelin Partnership for Computation .
Please provide your proposal title
Midnight and Open Zeppelin Partnership for Computation
Enter the amount of funding you are requesting in ADA
100000
Please specify how many months you expect your project to last
12
What is the problem you want to solve?
Improving Cardano smart contracts is the most known way for Cardano to enter into a partnership with The Graph. This problem can be solved through the partnership between Midnight and OpenZeppelin.
Supporting links
Does your project have any dependencies on other organizations, technical or otherwise?
Yes
Describe any dependencies or write 'No dependencies'
The project is dependent on subgraphs on The Graph
Will your project's outputs be fully open source?
Yes
License and Additional Information
The open source license will be the Apache 2.0 license due to impact on community and ecosytems.
Please choose the most relevant theme and tag related to the outcomes of your proposal
DeFi
Mention your open source license and describe your open source license rationale.
Apache 2.0 license will be used in regards to growth and longevity of the project's ecosystem. This is also in regards to community dynamics, governance models, and funding opportunities. This is important when building a product that will help promote the partnership between two ecosytems.
How do you make sure your source code is accessible to the public from project start, and people are informed?
How I will make sure my source code is accessible to the public from project start is through templates for indexing the activity on the dedicated Cardano subgraph. The schema will not be defined in graphql format but in json format. This format will be used because subgaphs cannot be completed without json format integration in some instances.
How will you provide high quality documentation?
I will provide high quality documentation in order to build my subgraph by creating a JSON file listing the modules indexed. This also includes live deployment on mainnet. This onchain activity will be indexed using access control in accordance with the ERC20 token.
https://github.com/OpenZeppelin/openzeppelin-subgraphs?tab=readme-ov-file
Please describe your proposed solution and how it addresses the problem
Oracles on Chainlink is an offchain product, with The Graph using smart contracts on-chain. There is no need for The Graph to use Chainlink the same way Cardano uses it, in the way of Oracles. For Cardano to be interoperable with The Graph's infrastructure there must be a way for Cardano to improve on smart contract development. The Zeppelin project eliminates the use of Plutus Core, and Midnight's privacy may be a good way to improve on smart contracts.
Please define the positive impact your project will have on the wider Cardano community
The positive impact my project will have on the wider Cardano community is more of an emphasis on the Midnight and Open Zeppelin partnership and less emphasis on a partnership with Chainlink and Cardano for future smart contract development. Although the partnership between The Graph and Chainlink is feasible due to onchain data being utilized, I do not believe it has a place in relation to the Midnight and Open Zeppelin partnership. The Graph and Cardano will never achieve interoperablity if Cardano tries to use Chainlink in the same way The Graph uses it. Also, the partnership between Midnight and Open Zeppelin puts Plutus core in the past.
What is your capability to deliver your project with high levels of trust and accountability? How do you intend to validate if your approach is feasible?
There is no way to bring this type of technology from The Graph to Cardano if oracles are the main way to enhance smart contracts on Cardano. How I intend to validate if my approach is feasible is knowing there would not be a need for oracles on Cardano in the same way they use them today. This is why I believe there has not been a partnership formed between Cardano and The Graph. My capability to deliver the project with high levels of trust and accountability is my time spent on The Graph.
Milestone Title
Development of CardanoDefiEth Dedicated Subraph for Cardano
Milestone Outputs
Building the Official Cardano Subgraph for CardanoDefiEth tracks activity and usage of ADA, which is Cardano's native token. This includes the monitoring of transactions, token distribution and other metrics.
Acceptance Criteria
Conditions that must be met will be a completed subgraph that performs the functions stated above. This will allow those on the Cardano ecosystem who are willing to consider The Graph's architecture to monitor transactions and token distribution for insight into the Cardano ecosystem.
Evidence of Completion
How I will prove the milestone is complete will be the ability to onboard Cardano users to the dedicated Cardano subgraph. This will add value to the Cardano ecosystem because Cardano users will be able to gain insight into their token distribution and transaction monitoring.
Delivery Month
3
Cost
25000
Progress
40 %
Milestone Title
Midnight and OpenZeppelin Partnership
Milestone Outputs
Better oracle support on Cardano will not bring The Graph's technology to Cardano. The Zeppelin project eliminates the need for Plutus Core, where Midnight sems to be the future of Cardano in many aspects. What will be delivered is using the Midnight and OpenZeppelin partnership to improve smart contract development on Cardano.
https://why.cardano.org/en/introduction/cardano-computation-layer/
Acceptance Criteria
Conditions that must be met is proof that Cardano will not be able to adopt The Graph's technology unless they look into the formed partnership between Midnight and OpenZepellin. This partnership forces Cardano to change the way they develop smart contracts.
Evidence of Completion
How I will prove the milestone is complete will be through the Cardano community being willing to visit The Graph and use the Cardano dedicated subgraph to monitor progress of their ecosystem. By the time voting is in effect on Project Catalyst, voters will have an opportunity to visit The Graph and use these metrics for insight into their ecosystem.
Delivery Month
6
Cost
25000
Progress
40 %
Milestone Title
Updating the Subgraph to Add Value to Cardano and The Graph
Milestone Outputs
Delivery of the Subgraph will be seen by those on The Graph also. This can add value to the Cardano ecosystem because Cardano is not a very known product on The Graph. Maybe those who see these metrics can see value in Cardano.
Acceptance Criteria
Conditions that must be met to complete this milestone is my responsibility to the Cardano community to give demonstrations on my constructed dedicated subgraph. This can add to a future partnership between The Graph and Cardano if seen by the right people.
Evidence of Completion
Evidence and how I will prove the milestone is complete is demonstrating to Project Catalyst and the Cardano ecosystem my working subgraph and the metrics it provides to the Cardano community.
Delivery Month
9
Cost
25000
Progress
40 %
Milestone Title
Cardano's Decided Adoption
Milestone Outputs
What will be delivered in this milestone is how Cardano can be leveraged on the subgrpah and how the ecosystem metrics will be used by other networks. This is the focus of building the subgraph, which is to show those on The Graph that Cardano has value.
Acceptance Criteria
Conditions that must be met for a working product to be promoted on the Cardano ecosystem is if the Cardano community is willing to change the way they develop smart contracts. It is fact that there is a partnership formed and the community will be forced to support this partnership. It is already seen on the Cardano developer portal there is not much support for Plutus. The reason for this is the partnership establshed between Midnight and OpenZeppelin.
Evidence of Completion
Evidence of competion will be proof that there is a chance for The Graph and Cardano to form a partnership. If the Cardano community is not willing to change the way they look at oracles, there cannot be a partnership formed, and this is evidence of completion. If the community is not willing to adopt this technology, metrics can still be monitored on the dedicated subgraph for future decisions between the proposed partnership.
Delivery Month
12
Cost
25000
Progress
40 %
Please provide a cost breakdown of the proposed work and resources
100000 ADA
Based on work already performed on Subgraph implementation. This also includes manhours for building the dedicated Cardano subgraph, as well as the difficulty in determining how to track metrics, etc. All costs are based on developer time and effort, as well as computer resources needed.
How does the cost of the project represent value for the Cardano ecosystem?
The cost of my project represents value for the Cardano ecosystem because development for the project uses tools from the Cardano and Graph ecosystems. Development can be performed by one person because it only takes one person to build a subgraph. Also, the partnership between Midnight and Open Zeppelin shows it is a valid partnership, where development can be performed on Open Zeppelin to improve smart contract development on Cardano. this eliminates the need for Plutus Core.
Terms and Conditions:
Yes
I am the only individula developing on the project. This is possible due to my development on The Graph, and by developing a dedicated subgraph for Cardano.