Skip to content

A web3 project with IPFS decentralized storage implementation with solidity smart contract end2end codebase.

Notifications You must be signed in to change notification settings

padmarajkore/origin-paper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Origin-Paper

OriginPaper is a decentralized Web3 platform that empowers researchers to publish, share, and earn rewards for their research papers using blockchain technology. It ensures open access, verifiability, and true ownership of knowledge.


🚀 Getting Started

📦 Clone the Repository

git clone https://github.com/padmarajkore/Paper.git
cd origin-paper

🛠️ Project Setup

1. Install Dependencies

Backend

cd backend
npm install

Frontend

cd ../frontend
npm install

2. Build Frontend

Before starting the server, you need to build the frontend:

npm run build

This builds the React app and prepares it to be served by the backend.


▶️ Running the Application

Once the frontend is built, start the backend server from the project root (or inside backend):

cd ../backend
npm run backend/app.js

This will serve both the backend and the built frontend app on http://localhost:3001.


🗃️ MongoDB Setup

Make sure MongoDB is running locally.

To quickly start MongoDB using Docker:

docker run --name mongodb -p 27017:27017 -d mongo

📄 Smart Contract

The Paper Token contract is already deployed on a testnet.

If you'd like to deploy a new version:

  • Use Remix IDE
  • Update the contract address in the environment variables

⚙️ Environment Configuration

🔐 Backend – .env

Create a .env file inside the backend directory:

MONGO_URL=mongodb://localhost:27017/papers
PORT=3001

🌐 Frontend – .env

Create a .env file inside the frontend directory:

REACT_APP_PINATA_JWT=your_pinata_jwt
REACT_APP_PINATA_GATEWAY=your_pinata_gateway
REACT_APP_PAPER_TOKEN_ADDRESS=0xYourPaperTokenAddress

Alt Text Alt Text Alt Text Alt Text Alt Text Alt Text


📚 Features

  • 📥 Upload & verify research papers
  • 🎖️ Get rewarded via Paper tokens
  • 🔗 Smart contract-backed transparency
  • 🧬 IPFS-powered decentralized storage
  • 🌍 One-click publishing for open access

🧰 Tech Stack

  • Frontend: React + Vite
  • Backend: Node.js + Express
  • Blockchain: Solidity + Remix IDE
  • Storage: MongoDB, IPFS (via Pinata)
  • Containerization: Docker

also refer usage guide at https://medium.com/block-magnates/originpaper-a-web3-platform-revolutionizing-open-research-sharing-5536724df148

🤝 Contributing

Pull Requests are welcome! Please create an issue to discuss any major changes first.


📜 License

MIT © 2025 OriginPaper


About

A web3 project with IPFS decentralized storage implementation with solidity smart contract end2end codebase.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published