Submission for the E-Suraksha hackathon at CU
- Ankush Singh
- Ashutosh Mittal
- Prayrit
- Parth Tiwari
- Abhijeet Singh
- React
- Vite
- Arweave Blockchain
- Arweave.app web wallet
- arweavekit
git clone https://github.com/<YOUR_USERNAME>/esuraksha-cu.git
The project is split into 3 folders
app
- React frontendinstabase
- Express backend with instabase functionscontracts
- Arewave Smart contracts to store document data
cd app
npm install --force
npm run dev
cd instabase
npm install --force
nodemon index.js
npx arlocal
cd contracts
npm install --force
Smart Contract is in contracts/contract.js
node deploy.js
node write.js
node read.js
NOTE: All of these should be run with arlocal running in the background or in a terminal tab
To make sure the contract deploys you will need an arweave wallet.json
file which can be created using ardrive-cli
or downloaded from arweave.app web wallet