Skip to content

sv3.network is the Web3-native version of SignVault.io - turning documents into on-chain Real-World Assets (RWAs) with verifiable e-signatures, organizations, and compliance workflows on any EVM chain.

License

Notifications You must be signed in to change notification settings

SignVault/sv3.network

Repository files navigation

sv3.network

The Web3-native evolution of SignVault.io β€” A decentralized document, signature, and compliance platform that turns documents into on-chain Real-World Assets (RWAs).

sv3.network Readme Image

🌐 Vision

sv3.network is building a fully decentralized, blockchain-native compliance and document management network where:

  • Documents as On-Chain RWAs: Every document is minted as an NFT with immutable metadata
  • E-Signatures on Chain: Signatures are recorded as on-chain events, timestamped and verifiable
  • Organizations & Teams On-Chain: Smart contract-based team management with role-based access
  • Audit & Compliance Layer: Immutable event logs for every document action
  • Cross-Chain Interoperability: Works across any EVM-compatible chain

πŸ—οΈ Architecture

Smart Contracts

  • DocumentRWA.sol - Core contract for document management and NFT minting
  • Organization.sol - Organization management and membership with role-based access
  • UserProfile.sol - User identity and profile management
  • Message.sol - Messaging system between users
  • NFT.sol - Base NFT contract for document tokens

Technology Stack

  • Frontend: Next.js 15, React 19, TypeScript, Tailwind CSS, Radix UI
  • Web3: Viem, Wagmi, Web3Modal, Sign-In with Ethereum (SIWE)
  • Blockchain: Solidity, Foundry, Hardhat
  • Database: PostgreSQL with Kysely ORM
  • Storage: IPFS for document storage

πŸ“¦ Packages

App - Next.js Frontend Application

  • Next.js 15 with App Router and React 19
  • Web3 Integration with Viem, Wagmi, and Web3Modal
  • UI Components with Radix UI and Tailwind CSS
  • Database with PostgreSQL and Kysely ORM
  • Authentication with Sign-In with Ethereum (SIWE)

Key Features:

  • Document management interface
  • Organization and team management
  • Signature workflows
  • Audit logs and compliance tracking
  • Multi-chain support

Foundry - Smart Contract Development

  • Solidity contracts for document management
  • Foundry for testing and deployment
  • Multi-network support (Ethereum, Polygon, Arbitrum, etc.)
  • Gas optimization and security testing

Contracts:

  • DocumentRWA: Document NFT management
  • Organization: Team and role management
  • UserProfile: User identity system
  • Message: Inter-user communication

Hardhat - Alternative Smart Contract Framework

  • Hardhat for contract development and testing
  • TypeScript integration for testing
  • Deployment scripts and verification
  • Coverage reporting and gas analysis

πŸš€ Quick Start

Prerequisites

  • Node.js 18+ and Bun
  • PostgreSQL database
  • Testnet ETH for deployment
  • API keys for Alchemy and Etherscan

Development Setup

  1. Clone and install dependencies:
git clone https://github.com/SignVault/sv3.network.git
cd sv3.network
bun install
  1. Set up environment variables:
# Copy environment files
cp packages/app/.env.example packages/app/.env
cp packages/foundry/.env.example packages/foundry/.env
cp packages/hardhat/.env.example packages/hardhat/.env
  1. Start development servers:
# Start the frontend app
bun run app:dev

# Or start all services
bun run dev

Smart Contract Development

Using Foundry (Recommended):

cd packages/foundry
forge install
forge test
./deploy.sh sepolia

Using Hardhat:

cd packages/hardhat
bun install
bun test
bun deploy

πŸ› οΈ Development Scripts

# Frontend development
bun run app:dev          # Start Next.js app
bun run app:build        # Build Next.js app
bun run app:start        # Start production server

# Smart contract development
bun run foundry:dev      # Start Foundry development
bun run hardhat:dev       # Start Hardhat development

# Database management
bun run db:migrate       # Run database migrations
bun run db:migrate:up    # Apply pending migrations
bun run db:migrate:down  # Rollback migrations
bun run db:migrate:reset # Reset database

πŸ”§ Smart Contract Features

Document Management

  • NFT Minting: Documents are minted as ERC-721 NFTs with unique metadata
  • IPFS Integration: Document content stored on IPFS with content hashing
  • Signature Tracking: On-chain signature verification and tracking
  • Role-Based Access: Granular permissions for document operations

Organization Management

  • Team Structures: Hierarchical organization management
  • Role System: Owner, Admin, and Member roles with different permissions
  • Member Management: Add/remove members with role assignments
  • Access Control: Document-level permissions based on organization membership

User Profiles

  • Wallet-Based Identity: Primary identity tied to wallet addresses
  • Profile Management: Username, email, and custom data fields
  • Verification System: Optional profile verification for enhanced trust
  • Cross-Platform Identity: Consistent identity across the network

🌐 Supported Networks

  • Ethereum Sepolia (testnet)
  • Ethereum Goerli (testnet)
  • Polygon Mumbai (testnet)
  • Arbitrum Sepolia (testnet)
  • Base Sepolia (testnet)

πŸ“š Documentation

🀝 Contributing

We welcome contributions! Please see our Hacktoberfest 2025 Tasks for current opportunities.

Development Workflow

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

Contributors

Contributors to this repository are rewarded based on their contributions to the project. Their contribution score is calculated based on a combination of the commits, issues, pull requests, and other contributions that determine the amount of funding they receives.

The score is calculated using Contributor Graph.

πŸš€ Deployment

Frontend Deployment

Deploy with Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Smart Contract Deployment

Deploy contracts to your preferred network:

# Using Foundry
cd packages/foundry
./deploy.sh sepolia

# Using Hardhat  
cd packages/hardhat
bun deploy --network sepolia

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ”— Links

About

sv3.network is the Web3-native version of SignVault.io - turning documents into on-chain Real-World Assets (RWAs) with verifiable e-signatures, organizations, and compliance workflows on any EVM chain.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •