ProductTokenWeave is a decentralized platform that combines product launch announcements, RWA tokenization, and ZK-SNARK validation. Built on Arbitrum Stylus, it enables secure product launches with integrated Twitter marketing and on-chain verification.
- Instant Product Launch: Seamlessly announce products on Twitter while creating verifiable on-chain records
- RWA Tokenization: Transform product details into secure digital assets
- Privacy-Preserving: ZK-SNARK validation ensures data privacy while maintaining verifiability
- Twitter Integration: Automated product announcements and marketing integration
- Secure Storage: IPFS integration for decentralized metadata storage
📦 Pinata IPFS: Decentralized storage for product details and metadata, ensuring security and immutability.
- Smart Contracts: Arbitrum Stylus (Rust)
- Frontend: Next.js 14, TypeScript, Tailwind CSS
- Web3: Ethers.js, Arb-Stylus-SDK, Rust
- Privacy: Circom + Snarkjs for ZK-SNARK proofs
- Storage: Pinata IPFS
- Social: Twitter API v2
- UI Components: Shadcn UI, Radix UI
- Clone the Repository
git clone https://github.com/your-username/ProductTokenWeave.git
cd ProductTokenWeave- Environment Setup
# Copy example env file
cp .env.example .env
# Add your credentials to .env
TWITTER_API_KEY=your_twitter_api_key
TWITTER_BEARER_TOKEN=your_bearer_token- Install Dependencies
# Install frontend dependencies
cd frontend
npm install
# Install ZK dependencies globally
npm install -g circom snarkjs- Compile ZK Circuit
# Compile the circuit
cd Solidity+zkp
npm run compile:circuit- Start Development Server
# Start frontend
cd frontend
npm run dev-
Circuit Compilation
- Product details are validated using ZK-SNARK circuits
- Circom circuit ensures data integrity and privacy
- Generates proof of valid product details without revealing data
-
Proof Generation
- Generate witness from product data
- Create ZK proof using Groth16
- Verify proof on-chain
-
On-chain Verification
- Smart contract verifies ZK proof
- Mints NFT upon successful verification
- Records product launch on-chain
- Connect your Web3 wallet
- Enter product details and Twitter handle
- Passes the product details through the ZK-SNARK circuit.
- Securely stores the product details on IPFS.
- Mint your Product NFT with Twitter verification
This project is licensed under the MIT License - see the LICENSE file for details.

