Skip to content

bitcoin-silver/node-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BitcoinSilver Node Map

Real-time visualization of the BitcoinSilver network nodes on an interactive world map.

🌐 View Live Map

Features

  • 🌍 Interactive world map showing all connected nodes
  • 📍 Geolocation of each peer connection
  • 📊 Network statistics (total nodes, countries, average ping)
  • 🔄 Auto-refresh every 30 seconds
  • 📱 Mobile responsive design
  • 🔒 Secure architecture (no RPC credentials exposed)

How It Works

  1. Frontend makes API request to secure backend
  2. Backend queries Bitcoin RPC getpeerinfo
  3. Geolocation data added using geoip-lite
  4. Interactive map displays peer locations in real-time

API Endpoint

The map uses a backend API endpoint that returns peer information with geolocation:

GET /api/peers

Response:

{
  "peers": [
    {
      "addr": "1.2.3.4:5678",
      "country": "US",
      "countryCode": "US",
      "lat": 37.7749,
      "lon": -122.4194,
      "network": "ipv4",
      "subver": "/BitcoinSilver:1.0.0/",
      "pingtime": 0.123,
      "inbound": false
    }
  ],
  "count": 1
}

Technologies

  • Leaflet.js - Interactive maps
  • geoip-lite - IP geolocation
  • BitcoinSilver RPC - Peer data
  • Express.js - Backend API

Security

✅ RPC credentials kept server-side ✅ CORS protection ✅ Rate limiting ✅ Static frontend on GitHub Pages

License

MIT


Made with ❤️ for the BitcoinSilver community

About

Real-time BitcoinSilver network node visualization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages