Skip to content

Instantly share code, notes, and snippets.

View jongan69's full-sized avatar
🎯
WEB3D

Jongan69 jongan69

🎯
WEB3D
View GitHub Profile
Model Key Storage Trust Level Complexity
Full Self-Custody (LDK/LND mobile) Device 🔒 Minimal trust 🧠 Complex
Remote Node (LNC, Zeus) External Node 🟡 Medium 😌 Easy
Hosted Node (Voltage) API-auth + macaroon 🟡 Medium-high ⚡ Fastest
Tool What it Does Notes
ldk-node-rn Run LDK Lightning node in RN Full non-custodial wallet support
react-native-lightning Wrap LND in React Native Uses Neutrino for on-chain sync
@lightninglabs/lnc-rn Secure pairing to remote LND Super easy to use
tapd Daemon for Taproot Assets Backend only (for now)
voltage.cloud Hosted LND + tapd Dev-friendly with great docs
Stack Element Option A: Self-Custody (On-Device) Option B: Remote (Trusted Node)
Bitcoin Wallet BDK (Bitcoin Dev Kit) LND wallet remote signing
Lightning Integration LDK or LND Mobile Lightning Node Connect (LNC) Zeus
Taproot Assets Support Backend tapd (React Native talks to it) Backend tapd (hosted or self-run)
Node Infrastructure Light-client (Neutrino / Esplora) Voltage Greenlight your own VPS
Key Management Device-held seed SecureStorage Macaroons / remote node API auth
React Native SDKs rn-ldk ldk-node-rn react-native-lightning @lightninglabs/lnc-rn
@jongan69
jongan69 / cleanup.sh
Created July 25, 2025 19:50
clean up on mac
#!/bin/bash
echo "🔧 Starting Mac dev cleanup..."
# 1. Clear User & System Cache
echo "🧹 Clearing system and user caches..."
sudo rm -rf ~/Library/Caches/* /Library/Caches/*
# 2. Xcode Derived Data
echo "🧹 Removing Xcode Derived Data..."
@jongan69
jongan69 / package.json
Last active July 4, 2025 15:24
my expo router package.json scripts
"scripts": {
"start": "expo start",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"android": "expo run:android",
"ios": "expo run:ios",
"android:dev": "expo run:android --device",
"ios:dev": "expo run:ios --device",
"web": "expo start --web",
"deploy": "npx expo export -p web && npx eas-cli@latest deploy",
"tunnel": "npx expo start --tunnel -c",
@jongan69
jongan69 / sad_maxxing.py
Created June 24, 2025 04:00
Damn you Google, damn you
from fastapi import FastAPI, HTTPException
from pydantic import BaseModel, Field
from typing import List, Optional, Dict, Any
from fast_hotels import HotelData, Guests, get_hotels
from fast_flights import FlightData, Passengers, get_flights
import logging
import re
import pandas as pd
# Helper functions for parsing price and stops
@jongan69
jongan69 / main.py
Created June 8, 2025 19:27
goose + parser api
from fastapi import FastAPI, UploadFile, File, HTTPException
from fastapi.middleware.cors import CORSMiddleware
from fastapi.responses import JSONResponse
from pydantic import BaseModel
from typing import Dict, Any, Optional, List
import subprocess
import re
import os
import json
import logging
@jongan69
jongan69 / main.py
Created June 8, 2025 16:30
Latest Goose API
from fastapi import FastAPI, HTTPException
from fastapi.middleware.cors import CORSMiddleware
from pydantic import BaseModel
import subprocess
import re
import os
# Clean the output of the goose command
def clean_goose_output(output: str) -> str:
@jongan69
jongan69 / main.py
Created June 8, 2025 08:48
goose api wrapper
from fastapi import FastAPI, HTTPException
from pydantic import BaseModel
import subprocess
app = FastAPI()
class GooseInput(BaseModel):
instructions: str
session_name: str = "api-session"
@jongan69
jongan69 / Send_Text.py
Created May 11, 2025 19:08
Using Surge API for sending text messages in python
import requests
import json
import os
import dotenv
dotenv.load_dotenv()
# Surge API endpoint
url = "https://api.surge.app/messages"