Discussion Details
Full Stack dApp Education
while0x1
Description
This proposal will provide a suite of 3 full stack dApps and helper functions to dispel the myth that Cardano is difficult to build on. These examples provide a set of smart contracts, off-chain code, and front-end web applications. These applications will detail comprehensive examples of end-to-end application building for contract deployment, wallet and user management, web interfaces and utility libraries for maintaining the applications.
The smart contracts and offchain code are written with opshin and pycardano respectively and provide examples of core on-chain and offchain reference material. Opshin and pycardano are based on python, one of the most widely adopted and developer friendly languages in history. The offchain code includes examples for interacting with core Cardano infrastructure for creating performant dApps ( token registry, kupo, ogmios, koios).
The included web application code is user-friendly and portable, having no external dependencies. The web application code does not rely on any frameworks like react or nextJS, it is provided as 'vanilla' JavaScript, CSS and HTML. This makes it highly portable , approachable and modular. The applications provide examples of CIP30 wallet interaction, transaction signing and submission, and communication with offchain components.
Simplifi - a p2p defi contract example which does not rely on any oracles. This dApp is a simple lending platform which provides smart contract examples of token vesting logic and validity intervals. The offchain code provides examples of converting collateral tokens into ADA equivalent prices using the orcfax decentralized oracles.
Verifair – a first of kind example using onchain entropy to ensure verifiably fair and random outcomes for gaming or prize redemption. The contract provides reference material for interacting with Fortuna reference scripts and its datum format which can be used in a smart contract to provide verifiable, decentralized randomness.
Mana – a fair and bot resistant minable smart contract token. The smart contract provides an example of contract token minting as well as techniques for dealing with validity intervals and datum tamper-proofing. A complete mining application is also included which allows users to mine the token and a block explorer provides a web application to visualize the chain-state. A set of helper scripts which detail how to mint NFTs is also included.
Problem Statement
Cardano has a reputation for being difficult to build upon, but with the advent of a suite of easy to use ecosystem tools this is simply not true anymore. Cardano does however have a lack of practical, full-stack, open-source examples and reference materials for building end to end dApps. There are growing numbers of open-source functional style contracts , but building a performant dApp on Cardano requires familiarity with multiple ecosystem technologies.
Proposal Benefit
The proposal will address gaps in Cardano reference material and education while also helping to attract new developers and reduce development friction. The majority of Cardano reference material is written predominantly with functional style contracts and does not contain full-stack open source examples. Developers will have approachable, comprehensive reference material for end to end application building, not just smart contract reference material.
Key Proposal Deliverables
The publication of 3 full stack dApps with all helper functions and reference material to github.
The verifair application is already deployed to mainnet, with the web server running and available. This service will be kept online as a source of reference material.
The mana miner code is already public on github, the contracts and suite of offchain utilities will be uploaded to github as well as the chain explorer code. The chain explorer will be maintained and funded through the proposal.
Simplifi is already deployed to testnet with all functions tested. The complete codebase will be uploaded to github.
Cost Breakdown
MANA Hours Contract dev 40 Contract testing 56 Offchain dev 40 Front-end 64 Infra Setup 12
Simplifi Hours Contract dev 32 Contract testing 40 Offchain dev 48 Front-end 96 Infra Setup 12
Verifair Contract dev 48 Contract testing 56 Offchain dev 120 Front-end 112 Infra Setup 12
Repo Management Hours Documentation 56
Hosting Fees $1800
100 USD/Hour
Total USD: $86200
Total ADA: 132615
Resourcing & Duration
These protocols have already been developed and are available for immediate public consumption. This proposal seeks retroactive funding for initial development time and the work required to open source the entire codebase for each project.
The codebase already exists and only requires 1 person to document the projects.
It will take less than 4 weeks to review and upload all material to github and write any additional readme files required for application background.
Experience
The proposer has written and deployed multiple smart contract platforms and run a stakepool for over 3 years. A previous catalyst project was delivered on-time and budget in Fund 11.
Maintenance & Support
Being developed by one individual maintenance overheads are low and manageable. Funding from the proposal will be utilized for any maintenance required on the repo and overhead costs used for hosting.
Supplementary Endorsement
Roadmap Alignment
Does your proposal align with any of the Intersect Committees?
Open Source Committee
Does this proposal align to the Product Roadmap and Roadmap Goals?
Developer / User Experience
Administration and Auditing
Would you like Intersect to be your named Administrator, including acting as the auditor, as per the Cardano Constitution?
Yes
Ownership Information
Submitted On Behalf Of
IndividualSocial Handles
https://x.com/sharethlovelaceKey Dependencies
No Dependencies.
Cast Your Vote
Comments (2)
I would prefer to see a proposal attempt to secure funding through Catalyst. Hence, I am indicating that I would vote NO on its direct inclusion in the Cardano budget for 2025.
Here’s a detailed breakdown of the possibilities and implications:
- Full Stack dApp Education
Scope of Education: A full stack dApp education program would cover all the layers necessary for building decentralized applications. This includes:
Blockchain Fundamentals: Understanding consensus algorithms, decentralized ledgers, and smart contract platforms.
Smart Contract Development: Hands-on training in languages like Solidity (for Ethereum) or Plutus (for Cardano) to write secure smart contracts.
Backend Integration: Learning how to interact with blockchains via APIs, nodes, and oracles, as well as integrating with off-chain data.
Front-End Development: Creating user interfaces that interact seamlessly with blockchain backends, including wallet integration and user experience design.
Security & Testing: Ensuring robust security practices and comprehensive testing methodologies specifically tailored to dApps.
DevOps & Deployment: Understanding how to deploy, maintain, and scale decentralized applications in a production environment.
Budget Considerations: Investing in such comprehensive education requires significant budget allocations. Key areas to fund include:
Curriculum Development: Crafting up-to-date, hands-on programs that keep pace with rapidly evolving blockchain technology.
Educator & Trainer Compensation: Recruiting industry experts and experienced developers to teach and mentor learners.
Infrastructure: Establishing labs, development environments, and simulation networks for testing dApps.
Scholarships & Grants: Offering financial support to broaden access, especially in emerging economies within Asia.
Partnerships: Collaborating with tech companies, blockchain platforms, and educational institutions to deliver practical
Are You Ready to Participate?
Building Together to Drive Cardano Forward.