BitSatRelay - Bitcoin Satellite Communication
==================================================
BitSatRelay - Two-Way Satellite Communication + DM Bot
============================================================
π Starting outbound bridge (Nostr β Satellite)
============================================================
BitSatRelay - Bitcoin Satellite Relay
==================================================
β
BitSatCredit extension connected: https://lnbits.molonlabe.holdings/bitsatcredit
β
Nostr bot initialized with 9 relays
Monitoring relay: ws://localhost:7777
Payment required: 21 sats per message
Top-up page: https://lnbits.molonlabe.holdings/bitsatcredit
Starting bridge...
π¬ Initializing DM Bot (Dual-Channel)
============================================================
β
Nostr bot initialized with 9 relays
DMRouter - INFO - β
DM Router initialized (dual-channel: internet + satellite)
β
Nostr bot initialized with 9 relays
β
DM Bot initialized (dual-channel (internet + satellite))
Bot pubkey: af3398a5c69381ed...
Rate limit: 5.0s per user
π¬ Starting DM Bot (Internet + Satellite)
============================================================
π¬ DM Bot - Monitoring for incoming messages
Bot pubkey: af3398a5c69381edaa8881008e314bd30e95e8b2e9abf64230b243d3f3cbbb60
Monitoring 9 relays
π‘ Starting inbound monitor (Satellite β Nostr)
============================================================
β
Nostr bot initialized with 9 relays
π Starting Internet DM Relay (User-to-User)
============================================================
Satellite Monitor - Inbound Message Processing
==================================================
β³ Waiting 5s for outbound system to initialize...
π¬ Starting Internet DM Relay (Internet β Satellite)
============================================================
β
Monitoring for user-to-user DMs on ws://localhost:7777
β
Starting satellite monitor
β
Nostr bot initialized with 9 relays
β
Satellite monitor initialized (with DM processing)
π Monitoring: /run/user/1000/gvfs/smb-share:server=192.168.1.112,share=oscardata/RXimages
π¦ Archive: /run/user/1000/gvfs/smb-share:server=192.168.1.112,share=oscardata/RXimages/processed
β
Watchdog observer started
π° Credits deducted: npub18cel6ufy796... (remaining: 99633 sats)
π Sending: 441 bytes as plain text
β
Sent plain text via TYPE_IMAGE (uncompressed)
π Processing: tmpbvnf2his.txt (602 bytes)
π Processing file: tmpbvnf2his.txt
β
Parsed event ID: b4c3da1e9fcd5ec4...
From pubkey: 3e33fd7124f174fc...
Content: found the loop issue i think : if pubkey_hex == no...
π Detected kind 1 (text note/repost)
β
Rebroadcast to 9/9 relays: b4c3da1e9fcd5ec4...
β
Quote note created: 819754f2c8fc2ef0...
β
Quote note published to 9/9 relays
β
Complete: Rebroadcast + Quote
β
Successfully rebroadcast event b4c3da1e9fcd5ec4...
π¦ Archived: tmpbvnf2his.txt
ποΈ Deleting duplicate (second pass): tmpbvnf2his.txt
β
Successfully deleted duplicate
π© DM from npub18cel6ufy796...: Hello
π¨ Sending dual-channel DM to npub18cel6ufy796...
π°οΈ Satellite PRIMARY - sending via satellite first...
π‘ Satellite DM sent to npub18cel6ufy796...
π Internet SECONDARY - sending via internet as backup...
π¨ DM sent to npub18cel6ufy796...
π‘ Internet DM sent to npub18cel6ufy796...
β
Dual-channel DM sent successfully (satellite PRIMARY + internet backup)
β
Dual-channel response sent to npub18cel6ufy796...
π Processing: tmpj_t6rweu.txt (821 bytes)
π Processing file: tmpj_t6rweu.txt
β
Parsed event ID: a218f3b760189f1b...
From pubkey: af3398a5c69381ed...
Content: TVSrpQ73+BqUNZQhJXyZEl+IpWPLAH3+kwpj9CxnfJixJNsKrF...
π¨ Detected kind 4 (encrypted DM)
βοΈ Skipping DM from bot itself
β
Successfully processed satellite DM a218f3b760189f1b...
π¦ Archived: tmpj_t6rweu.txt
ποΈ Deleting duplicate (second pass): tmpj_t6rweu.txt
β
Successfully deleted duplicate
π¬ User-to-user DM detected: 9807a7809164ef52...
From: 3e33fd7124f174fc...
To: c4f5e7a75a8ce368...
π° Deducted 21 sats (remaining: 99612 sats)
β
DM relayed via satellite
π Processing: tmp0hzyh5f4.txt (602 bytes)
π Processing file: tmp0hzyh5f4.txt
β
Parsed event ID: 9807a7809164ef52...
From pubkey: 3e33fd7124f174fc...
Content: gwJyl5q4vw1AUbfINHE84Q==?iv=K52T9J8iNXrXBoJPWqgP2A...
π¨ Detected kind 4 (encrypted DM)
π₯ Processing satellite DM: 9807a7809164ef52...
From: 3e33fd7124f174fc...
To: c4f5e7a75a8ce368... (USER)
π Gateway relay: Relaying satelliteβinternet (even though we sent it internetβsatellite)
β
Rebroadcast to 9/9 relays: 9807a7809164ef52...
β
DM relayed to internet for recipient c4f5e7a75a8ce368...
β
Successfully processed satellite DM 9807a7809164ef52...
π¦ Archived: tmp0hzyh5f4.txt
ποΈ Deleting duplicate (second pass): tmp0hzyh5f4.txt
β
Successfully deleted duplicate
π¬ User-to-user DM detected: 8e4f12b2ea2b4149...
From: 9ae3adc7b2e77631...
To: 153aef07ec4ab1e5...
β οΈ Sender has no account: npub1nt36m3ajuam...
ποΈ Deleted old processed file: tmp5bf7hy01.txt
ποΈ Deleted old processed file: tmpgpsigcb7.txt
ποΈ Deleted old processed file: tmpijjf1th2.txt
ποΈ Deleted old processed file: tmpns_6fta1.txt
π© DM from npub18cel6ufy796...: Hello
π¨ Sending dual-channel DM to npub18cel6ufy796...
π°οΈ Satellite PRIMARY - sending via satellite first...
π‘ Satellite DM sent to npub18cel6ufy796...
π Internet SECONDARY - sending via internet as backup...
π¨ DM sent to npub18cel6ufy796...
π‘ Internet DM sent to npub18cel6ufy796...
β
Dual-channel DM sent successfully (satellite PRIMARY + internet backup)
β
Dual-channel response sent to npub18cel6ufy796...
π Processing: tmpnjn1lvxd.txt (821 bytes)
π Processing file: tmpnjn1lvxd.txt
β
Parsed event ID: 736b9957ada5c423...
From pubkey: af3398a5c69381ed...
Content: Do5yHrlsPPTejXMtcbUFEtkLHzbAwCW0KtJ7cEYRG0AiqkS7uX...
π¨ Detected kind 4 (encrypted DM)
βοΈ Skipping DM from bot itself
β
Successfully processed satellite DM 736b9957ada5c423...
π¦ Archived: tmpnjn1lvxd.txt
ποΈ Deleting duplicate (second pass): tmpnjn1lvxd.txt
β
Successfully deleted duplicate
Nikos
npub18cel...ulqe
Proud BTC Tech Nerd
Notes (20)
found the loop issue i think : if pubkey_hex == nostr_bot.private_key.public_key.hex():
return
test for loop F U
apologies for the runaway endless loop of quoted messaged from the Satellite relay.. manage to get it into a death spiral of relaying it self !! Whoop whoop..
a very simplified TLDR of BitSatRelay
The Architecture
RELAY A (Location 1) RELAY B (Location 2)
ββ Local users ββ Local users
ββ Local relay (ws://localhost:7777) ββ Local relay (ws://localhost:7777)
ββ Satellite transceiver ββ Satellite transceiver
ββ Internet connection (optional) ββ Internet connection (optional)
When INTERNET UP:
User on Relay A β Relay A β Satellite β Relay B β User on Relay B
β
Also publishes to internet relays (backup)
When INTERNET DOWN:
User on Relay A β Relay A β Satellite β Relay B β User on Relay B
(ONLY path - satellite is primary!)
Test post only
Testing post
Basic test running v8
Inspired by this morning Brainstorm coffee chat with nostr:npub1cn670f663n3ks02jnnlsvd5y88zjnefy8343ykaxs7y3nzzketrsrjwt8a


GM $BTC & NOSTR Tech Nerd Army
It's time for β and some more
π‘ Decentralized thoughts. Anyone want to follow or participate π ( Doc is WIP) https://github.com/CryptoIceMLH/BitSatRelay/blob/main/docs/ARCHITECTURE.md
Good morning
Rise and Shine
https://www.molonlabe.holdings/ little bit more about me
white noise you say.. ok ok .. let me capture some of that white noise and we can send it up
π
nostr:note1r3gdn6ntux7e9cukkhvpynkx7tcnyr8nd0khe6fkkhanmq07u8nq0yxusq
nostr:npub1jg552aulj07skd6e7y2hu0vl5g8nl5jvfw8jhn6jpjk0vjd0waksvl6n8n are you receiving ? is blocksteam Sat got a nostr account ?
nostr:npub1patrlck0muvqevgytp4etpen0xsvrlw0hscp4qxgy40n852lqwwsz79h9a Say hello to nostr:npub14uee3fwxjwq7m25gsyqguv2t6v8ft69jax4lvs3skfpa8u7thdsqpu7gam and drop him a DM saying hello
market this market that ... we aint got time for that malarky ! Tools need to be build for the next generation. pull your fingers our and focus !
GN
nostr:npub1zfytz6ktce3av2svlfpl0e79e44tnskxmvlpkcmc7q0xct3qa49swvm60l did nostr:npub1l5pxvjzhw77h86tu0sml2gxg8jpwxch7fsj6d05n7vuqpq75v34syk4q0n not mention nostr:npub14uee3fwxjwq7m25gsyqguv2t6v8ft69jax4lvs3skfpa8u7thdsqpu7gam to you ? our freedom coms accepts SATS but.. freedom coms comes at the price of 7Kbps at the moment.
nostr:note1kcjvyp2aj8hmsgs76yfs2dn2ylx7vcw50ml99e5x2f7ctud4ylkqnunazh
2 x horrible storm weather test for Sat uplink and downlink ! Heavy rain , storm , 45mph winds