How nithish-github07/ipstamp works
IPStamp is a decentralized IP registration and licensing application. A creator selects a file; the frontend hashes it, optionally pins it through the backend to IPFS, and submits the fingerprint and CID to the registry contract. Creators can manage license terms, buyers can purchase licenses, and users can inspect ownership, verify files, and manage license usage. The README documents the product capabilities; several connections below rely on that documentation because contract and backend implementation excerpts were not provided.
Main entry points: main.jsx App coordinator · IPContentRegistry.sol IPContentRegistry · IPLicense.sol IPLicense · ownedTokens.js Token details reader
Components 21
Frontend workflows
- App coordinator
frontend/src/main.jsx - File hashing
frontend/src/main.jsx - IPFS client
frontend/src/ipfs.js - Creator portfolio
frontend/src/components/CreatorPortfolio.jsx - License terms UI
frontend/src/components/TermsModal.jsx - License marketplace
frontend/src/components/Marketplace.jsx - Licensee vault
frontend/src/components/LicenseeVault.jsx - File verification
frontend/src/main.jsx
Chain read services
- Listing reader
frontend/src/lib/market.js - Token details reader
frontend/src/lib/ownedTokens.js - Token enumeration
frontend/src/lib/enumerate.js - Sepolia read provider
frontend/src/lib/rpc.js
IPFS service
- Upload API
backend/server.js
Sepolia contracts
- IPContentRegistry
contracts/IPContentRegistry.sol - IPLicense
contracts/IPLicense.sol
Other components
- Creator
- Buyer
- Verifier
- MetaMask wallet
- Pinata / IPFS
- Sepolia blockchain
Connections 35
- Creator → App coordinator: uses
README.md - Buyer → App coordinator: uses
README.md - Verifier → App coordinator: uses
README.md - App coordinator → File hashing: hashes file
frontend/src/main.jsx - App coordinator → IPFS client: requests pin
frontend/src/main.jsx - IPFS client → Upload API: uploads file
frontend/src/ipfs.js - Upload API → Pinata / IPFS: pins file
README.md - App coordinator → IPContentRegistry: registers and verifies
README.md - App coordinator → MetaMask wallet: requests transactions
frontend/src/main.jsx - MetaMask wallet → IPContentRegistry: signs transactions
README.md - App coordinator → Creator portfolio: renders
frontend/src/main.jsx - Creator portfolio → Token details reader: loads owned IP
frontend/src/components/CreatorPortfolio.jsx - App coordinator → License terms UI: opens terms
frontend/src/main.jsx - License terms UI → App coordinator: submits terms
frontend/src/main.jsx - App coordinator → IPLicense: sets terms
README.md - App coordinator → License marketplace: renders
frontend/src/main.jsx - License marketplace → Listing reader: loads listings
frontend/src/components/Marketplace.jsx - Listing reader → Token enumeration: lists tokens
frontend/src/lib/market.js - Listing reader → Sepolia read provider: reads chain
frontend/src/lib/market.js - Listing reader → IPLicense: reads listings
- Listing reader → IPContentRegistry: reads records
- App coordinator → IPLicense: buys and manages
README.md - Buyer → MetaMask wallet: approves purchase
README.md - App coordinator → Licensee vault: renders
frontend/src/main.jsx - Licensee vault → Token details reader: loads licenses
frontend/src/components/LicenseeVault.jsx - Token details reader → Token enumeration: lists tokens
frontend/src/lib/ownedTokens.js - Token details reader → Sepolia read provider: reads chain
frontend/src/lib/ownedTokens.js - Token details reader → IPContentRegistry: reads IP records
- Token details reader → IPLicense: reads license data
- Licensee vault → IPLicense: uses license
frontend/src/components/LicenseeVault.jsx - App coordinator → File verification: handles verification
README.md - File verification → IPContentRegistry: checks fingerprint
README.md - IPContentRegistry → Sepolia blockchain: stores ownership
README.md - IPLicense → Sepolia blockchain: stores licenses
README.md - IPContentRegistry → IPLicense: links IP rights