Project title: Vehicle History and Service Tracker
One-liner: Development of app that allows a user to add vehicles and vehicle services to the blockchain
Project Summary: Project consists of three repos, a smart contract that uses near-sdk-core
, where a user can add vehicles and vehicles services to the blockchain. The second repo is a front-end repo the uses Vue.js and near-api-js
to render the state of the contract on a browser. The third repo will is a smart contract that contains code to hold Vehicle contract and assign that contract to a specific user.
Developer in Residence:
discord: phoenixpulsar | A Macedo#8225
Period:
Mar 1→ 31, 2022
Summary of work done (40hrs)
-
Smart Contract
- Wrote part 1 of 2: Blog Tutorial creating a dApp with NEAR and VUE
Medium - Created a new repo with Git history that follows steps in tutorial
https://github.com/phoenixpulsar/vehicles-on-the-block-smart-contract
- Wrote part 1 of 2: Blog Tutorial creating a dApp with NEAR and VUE
-
Front End
https://github.com/phoenixpulsar/vehicle-history-front-end
- Upgraded UI to match wireframes
- Finish UX flows for all CRUD actions for both Vehicle and Services
Next Steps/Ongoing
- ONGOING: Blog part 2 Front End
- ONGOING: Search Vehicles from FE
- TODO: Translate Blog/Tutorial to Spanish
- ONGOING: Debugging a cross contract call
- ONGOING: Debugging deployment fail after adding font-awesome-icons
- TODO: Allow a user to sell a vehicle to another user using NEAR coin
- TODO: Investigate limits of
RPC
how to index or store if state grows above 50kb of state
Block 1 (17hrs)
- Finish all CRUD operations on smart contract and front end. This includes adding a vehicle, updating a vehicle, deleting a vehicle, adding a service, updating service and deleting a service.
- CSS to make Front-end match wireframes/design
- Created small video demo of the application
- Aside: Continue with cross contract call permission blocker, by documenting it in stack overflow: nearprotocol - Delete a contract using using delete_account method from class ContractPromiseBatch near-sdk-core - Stack Overflow
Block 2 (23hrs)
- Wrote blog post for part 1 of 2 of our CRUD tutorial with NEAR and VUE
- Created a repo to go along side the tutorial, this repo git history also match every step of the tutorial for learners to easily follow along.