![AirSpace Logo]
AirSpace is the first blockchain-powered marketplace for buying, selling, and renting air rights. We're unlocking a multi-trillion dollar asset class by enabling property owners to tokenize the valuable space above their buildings, while helping hotels, developers, and businesses protect their views and secure development opportunities. Using verifiable credentials and privacy technology, we've transformed a complex legal process into a transparent, accessible marketplace.
Air rights represent the legal right to use, develop, or control the empty space above a property. These rights are traditionally difficult to trade due to complex legal processes and lack of transparency. AirSpace solves this by:
- Tokenizing Air Rights: Converting legal air rights into NFTs on the Flow blockchain
- Creating a Marketplace: Enabling easy buying, selling, and renting of these rights
- Ensuring Verification: Using zkSync and verifiable credentials to validate ownership
- Simplifying Transactions: Streamlining a complex legal process into a user-friendly platform
AirSpace leverages cutting-edge blockchain and Web3 technologies:
- NFT Minting: Air rights are represented as NFTs on the Flow blockchain
- Smart Contracts: Written in Cadence, Flow's resource-oriented programming language
- Metadata Storage: Comprehensive property details stored on-chain
- Transaction Management: Secure and efficient transaction processing
- zkSync Era: Layer 2 scaling solution for Ethereum
- Passkey Authentication: Secure wallet connection without seed phrases
- Smart Accounts: Each user gets a smart account on zkSync Era
- Zero-Knowledge Verification: Verify property details without revealing sensitive information
- Proof Generation: Create cryptographic proofs using the Groth16 proving system
- Verification System: Validate proofs on-chain for trustless verification
- Humanity Protocol: Verify real-world identity while preserving privacy
- Credential Issuance: Issue verifiable credentials for property ownership
- Credential Verification: Validate credentials without compromising privacy
- Next.js: React framework for the web application
- Tailwind CSS: Utility-first CSS framework for styling
- Framer Motion: Animation library for smooth transitions
- Mapbox: Interactive maps for property visualization
AirSpace/
βββ src/
β βββ app/ # Next.js app directory
β β βββ my-nfts/ # NFT collection display
β β βββ verify/ # Verification interface
β β βββ listings/ # Air rights listings
β βββ components/ # Reusable UI components
β βββ contracts/ # Blockchain smart contracts
β β βββ AirSpaceNFT.cdc # Flow NFT contract
β β βββ ZkSyncETHTransfer.sol # zkSync contract
β βββ context/ # React context providers
β βββ services/ # API and blockchain services
β β βββ flowNftService.ts # Flow NFT operations
β β βββ zkVerifyService.ts # ZK verification
β β βββ humanityProtocol.ts # Verifiable credentials
β βββ scripts/ # Utility scripts
β βββ mintNFTs.sh # NFT minting script
β βββ exportNFTs.sh # NFT export script
βββ public/ # Static assets
βββ package.json # Project dependencies
- Node.js (v16+)
- Flow CLI (for contract deployment)
- Flow testnet account
- zkSync Era Sepolia testnet account
-
Clone the repository:
git clone https://github.com/atharvalade/AirSpace_ETHDenver.git cd AirSpace_ETHDenver -
Install dependencies:
npm install
-
Set up environment variables:
cp .env.example .env.local # Edit .env.local with your API keys and configuration -
Start the development server:
npm run dev
AirSpace uses the following Flow wallet address for testing:
0x4f50ec69447dbf04
Property owners can tokenize their air rights by:
- Creating a listing with property details
- Verifying ownership through verifiable credentials
- Generating a zero-knowledge proof of property details
- Minting an NFT on the Flow blockchain
# Mint NFTs from JSON data
npm run mint-nftsDevelopers and businesses can purchase air rights by:
- Browsing available listings
- Connecting their Flow wallet
- Verifying their identity
- Completing the purchase transaction
All air rights can be verified using:
- Zero-knowledge proofs for privacy-preserving verification
- On-chain verification of NFT ownership
- Verifiable credentials for real-world identity verification
# Export and verify NFTs
npm run export-nftsAirSpace uses zkVerify for privacy-preserving verification:
- Generate Proof: Create a ZK proof of property details
- Verify Proof: Validate the proof without revealing sensitive information
- On-Chain Verification: Store verification results on the blockchain
The AirSpaceNFT contract defines the structure for air rights NFTs:
pub resource NFT: NonFungibleToken.INFT, MetadataViews.Resolver {
pub let id: UInt64
pub let propertyAddress: String
pub let currentHeight: UInt64
pub let maximumHeight: UInt64
pub let availableFloors: UInt64
pub let price: UFix64
pub let mintedAt: UFix64
// ... implementation
}The ZkSyncETHTransfer contract handles ETH transfers on zkSync Era:
contract ZkSyncETHTransfer {
event Transfer(address indexed from, address indexed to, uint256 amount);
// ... implementation
}AirSpace offers multiple authentication methods:
- Flow Wallet: Connect using FCL (Flow Client Library)
- zkSync SSO: Passkey authentication without seed phrases
- Verifiable Credentials: Identity verification through Humanity Protocol
Air rights NFTs use the following data format:
{
"tokenId": 2,
"ipfsHash": "QmUhnjFEszhg6Qkk6hQYNQxKK1Ghhn6DRM26CjLXFv18RY",
"metadata": {
"title": "Niagara Falls Hotel View Rights",
"name": "AirSpace - Niagara Falls Hotel View Rights",
"description": "Secure the pristine view of Niagara Falls by purchasing air rights above the existing hotel structure.",
"attributes": [
{"trait_type": "Property Address", "value": "6650 Niagara Parkway, Niagara Falls, ON L2G 0L0"},
{"trait_type": "Current Height", "value": 10},
{"trait_type": "Maximum Height", "value": 25},
{"trait_type": "Available Floors", "value": 15},
{"trait_type": "Price", "value": 250000}
],
"properties": {"coordinates": {"latitude": 43.0962, "longitude": -79.0377}}
}
}For questions or support, please contact me at ladeatharva@gmail.com
Built with β€οΈ at ETHDenver 2025