The off-chain libraries, web3 components that work with Paas APIs (F11 funded project) is a simple, free solution to create smart contract TXs for dApps or migrate existing web2 projects to web3.
This is the total amount allocated to Paas open-source off-chain libraries, web3 UI components to build dApp transactions (TXs) with free Paas APIs.
Develop, publish typescript libraries, React web3 components at off-chain side to build, submit TXs with free, available smart contracts on Paas for building dApps or upgrading web2 to Cardano web3.
We intend to use below open-source dependencies from Cardano ecosystem: https://github.com/Emurgo/cardano-serialization-lib, https://github.com/MeshJS/mesh, https://github.com/spacebudz/lucid, https://github.com/StricaHQ.
MIT license.
Public gitHub repo: https://github.com/bWorksApp/paas
Public shared documents.
We have completed technical milestones, deployed Catalyst project 1100097 PAAS MVP for smart contract developers to publish, provide free compiled smart contracts as JSON objects through APIs at: https://paas.bworks.app/web. There are already several published Aiken, Plutus smart contracts on PAAS MVP with various signature, string, number and time validators ready to use.
This proposal continues our F11 PAAS project by developing open-source typescript off-chain libraries, React components as web3 UIs that integrate with PAAS APIs for dApp developers to build smart contract transactions (TXs) via internet as below:
const lockTx = await paasLib.lock({wallet: 'connectedWallet', contract: 'paasContractId', assetPolicy: 'assetPolicy', amount: 'assetAmount', datum: 'datum'})
const unlockTxHash = await paasLib.unlock({wallet: 'connectedWallet', lockedUtxo: 'lockedUtxo', receiverAddress: 'receiverAddress', redeemer: ''redeemer})
The project to result out published open-source libraries, components on public NPM package registry for others can use freely via Yarn add, NPM install with below details:
Off-chain library functions
React components
Features
Language
Typescript (javascript), the popular language to develop web frontend, mobile apps.
Diagram
Demo
https://www.youtube.com/watch?v=lxcB5J475hUUsers
dApp developers, researchers and learners.
Conclusion
As a result others can use these open-source libraries, components with free and available smart contracts on PAAS to build dApp similarly to building web2, migrate existing web2 to Cardano web3 by including web3 React components into current projects. This benefits community at some level.
Benefits when building dApps with these off-chain libraries, web3 components:
Share the outputs: the developed libraries, components are open-source and published to public NPM registry for community can use to develop dApps or reuse source code.
Measure the impact: Number of downloads from NPM registry, number of TXs built by the libraries, components monitored on Paas report.
Team capacity
We are a team that building Paas platform and its free smart contracts consists experienced members in various domains:
Cardano projects
Process and report
The evidences of works
Develop off-chain typescript libraries for dApp transaction
Time: month 01-02, 25% of project works
Milestone outputs
Develop typescript off-chain library with below functions:
Acceptance criteria
Evidence of milestone completion
Develop web3 components use for dApp to submit transactions
Time: month 03-04, 25% of project works
Milestone outputs
Develop below React component:
Acceptance criteria
Evidence of milestone completion
Develop APIs
Time: month 05, 15% of project works
Milestone outputs
Develop and deploy APIs:
Acceptance criteria
Evidence of milestone completion
Develop dApp examples for demo
Time: month 06, 15% of project works
Milestone outputs
Develop and deploy 04 examples that use library in milestone-1 and components in milestone-2 with some typical Aiken and Plutus smart contracts:
Acceptance criteria
Evidence of milestone completion
Publish libraries and components to NPM registry for dApp can use via NPM install or Yarn add. Build community and support
Time: month 07-08, 20% of project works
Milestone outputs
Acceptance criteria
Evidence of milestone completion
1.Thang Tran - full stack, smart contract & web3 engineer.
GitHub: https://github.com/saigonbitmaster, https://github.com/bWorksApp
Responsibilities: engineering management, smart contract, web3 developer, full stack developer.
2-David do - professional social marketing and community manager
https://www.linkedin.com/in/david-do-0bb52b283/
Responsibilities: Promotion, user acquisition and community engagement.
3-Thang Vu - senior software and web3 developer.
Responsibilities: smart contract, web3 developer, full stack engineer.
4-Thanh Nguyen - senior full stack engineer
https://www.linkedin.com/in/congthanh-nguyen-b152361a0
GitHub: https://github.com/makotovnjp
Responsibilities: full stack engineer.
5-Oanh Ngo - experienced QA/QC.
https://www.linkedin.com/in/oanh-ngo-06b331100
Responsibilities: QA/QC test, report.
6-Chuong Pham - senior devOps, experienced Cardano engineer.
Responsibilities: Cardano CLI scripts, web3 dev, build tools.
7-Dung Phan - senior devOps, experienced Cardano engineer.
https://www.linkedin.com/in/phan-d%C5%A9ng-6682b5245/
Responsibilities: dApp deployment. Library, web assembly packing and publishing.
Total cost 115k Ada, equivalent to 40k $ at Ada price ~0.35$. Average 120 Ada per a work hour for estimated total 958 work hours.
Milestone-1: Develop off-chain typescript libraries for dApp TXs
25,000 Ada for estimated 208 work hours.
Milestone-2: Develop web3 components use for dApp to submit transactions
25,000 Ada for estimated 208 work hours.
Milestone-3: Develop APIs
20,000 Ada for estimated 167 work hours.
Milestone-4: Develop dApp examples for demo
20,000 Ada. Estimated 167 work hours.
Final milestone: QA/QC and fix bugs. Pack, publish libraries, components to NPM registry. Build , support community.
25,000 Ada. Estimated 208 work hours.
The use of requested budget
We use budget to develop off-chain library, web3 components and communicate project to community as described in milestones.
The return of funds
Published open-source libraries, components to build dApp easier with free smart contracts, this accelerate dApp adoption, attract existing web2 projects migrate to Cardano web3 and developers from web2 background to build Cardano based dApps. These make positive impacts to Cardano ecosystem.