A decentralized "World Note" application built on Solana using the IQLabs SDK.
- Map View: Explore the world and find notes left by others.
- Decentralized Database: All notes are stored on-chain using
iqdbtables (ar_notes_global). - Permanent: Notes are immutable and permanent (unless logic allows updates).
- Wallet Connection: Connect with Phantom/Solflare to post notes.
- Frontend: React + Vite + TypeScript
- Maps: Leaflet + React Leaflet
- Blockchain: Solana (
@solana/web3.js) + IQLabs SDK (iqdb) - Styling: Glassmorphism CSS (Vanilla/Tailwind-ready)
-
Install Dependencies
npm install
-
Run Development Server
npm run dev
-
Open in Browser Navigate to
http://localhost:5173. -
Initialize World (First Run)
- Connect your Wallet (Devnet).
- Click "Initialize World" button (only visible if table not found).
- Approve the transaction to create the
ar_notes_globaltable on-chain.
src/App.tsx: Main application logic (Map, Modals, Solana interaction).src/WalletContextProvider.tsx: Solana Wallet Adapter setup.src/main.tsx: Polyfills for Buffer/Global and entry point.src/index.css: Glassmorphism styles.