Track Items using the Blockchain
If you haven't installed dependencies during setup:
npm install
Build and deploy your contract to TestNet with a temporary dev account:
npm run deploy
Run npm start
. This will run a dev server.
- After learning about NEAR's immutable smart contracts for data and protection, we decided to find a practical solution. To make tracking more transparent and secure for the general public.
- Trackr has the functionality to read the smart contract’s metadata which offers ease of accessibility through the use of a QR code or ID search.
- Used Javascript, Typescript, Bootstrap, and React to construct the User Interface.
- We used NEAR's blockchain to store data and constructed all backend infrastructure using smart contracts.
- To implement blockchain smart contracts for the first time and keep efficiency a priority.
- We all had never used React before, so we had to learn and adjust.
- Implementing NEAR’s API library to securely store item metadata through each smart contract and exposing that data for the user.
- Facilitate searching IDs through the use of a QR code to fetch data quickly.
- Interface with the NEAR protocol using the near-api-js library.
- Create a functional, mobile-friendly web app using React.
- Implement different metadata options and searching options for different items.
On Windows, if you're seeing an error containing EPERM
it may be related to spaces in your path. Please see this issue for more details.