This is the repo that holds the main backend, Frontend and smartContract for Stampnet. It is a decentralized time-stamping system for documents built with Arbitrum using Stylus. It allows users to upload a file, video or any other media or enter text, generating a timestamped hash stored on the blockchain to prove the document's existence at a certain time without storing sensitive data.
Before starting, ensure you have the following installed:
- Node.js (version >= 14.x.x)
- React.js (version >=^19.0.0)
- npm or yarn
- The other dependencies can be gotten in the package.json file within the frontend folder.
-
Clone the repository:
git clone <repo-url> cd <project-directory>
-
Install dependencies:
npm install
-
Running the Application:
- To start the development server, run:
npm start
- The app will run at
http://localhost:3000.
- To start the development server, run:
This project is organized into the following structure:
node_modules/
public/
│
├── images
src/
│
├── components/
├── hooks/
├── layouts/
├── pages/
├── routes/
├── styles/
├── config/
└── App.js
This folder contains the images folder where the pictures used on the app are kept. It also contains favicon.ico, index.html, manifest.json, robots.txt
This folder contains the core routes for the dashboardpage, Aboutuspage, landingpage, loginpage, registerPage and ForgotPasswordpage. For example:
App.js: Manages all the whole integration of routes on the app.
If you're using testing libraries such as Jest or Mocha, you can run tests with:
npm run testThis project uses Bootstrap and Boxicons for code linting and Icons. You can check using:
npm install bootsrap boxiconsTo auto-format the code:
npm run formatFor any questions or help , feel free to reach out to the Team leader or the contributors of this Repository.
for you to download metamask click this link : MetaMask Download
For the link of the app click on this link: StampNet demoWebsite