feat(docker): add dev.sh with auto-funding and ATM app setup
- Add dev.sh script for managing regtest development environment - Implement cmd_fund to fund ATM app owner via Lightning.Pub API - Add --fund flag to cmd_up for automatic funding on startup - Update setup_atm_app to write VITE_APP_ID to machine .env - Fix Electron IPC to pass appId and extensionApiUrl to renderer - Restructure repo from nested lamassu-next/ to root The dev.sh script now supports: - ./dev.sh up --fund # Start regtest and auto-fund ATM - ./dev.sh fund # Fund existing ATM app - ./dev.sh status # Show environment status - ./dev.sh reset # Clean restart Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
30a2eb2199
commit
c98f126ba7
180 changed files with 2695 additions and 9587 deletions
78
.gitignore
vendored
78
.gitignore
vendored
|
|
@ -4,13 +4,11 @@ node_modules/
|
|||
|
||||
# Build outputs
|
||||
dist/
|
||||
build/
|
||||
*.tsbuildinfo
|
||||
|
||||
# Environment files
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
.next/
|
||||
.nuxt/
|
||||
.output/
|
||||
target/
|
||||
*.node
|
||||
|
||||
# IDE
|
||||
.idea/
|
||||
|
|
@ -19,35 +17,51 @@ build/
|
|||
*.swo
|
||||
*~
|
||||
|
||||
# Environment
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
|
||||
# Secrets
|
||||
*.nsec
|
||||
*.pem
|
||||
*.key
|
||||
.secrets.baseline
|
||||
|
||||
# Logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
pnpm-debug.log*
|
||||
|
||||
# Testing
|
||||
coverage/
|
||||
.nyc_output/
|
||||
|
||||
# Caches
|
||||
.turbo/
|
||||
.cache/
|
||||
.parcel-cache/
|
||||
.eslintcache
|
||||
*.tsbuildinfo
|
||||
|
||||
# OS
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Nix
|
||||
result
|
||||
result-*
|
||||
.direnv/
|
||||
# Electron
|
||||
apps/machine/dist-electron/
|
||||
apps/machine/release/
|
||||
|
||||
# devenv
|
||||
.devenv/
|
||||
.devenv.flake.nix
|
||||
|
||||
# Logs
|
||||
*.log
|
||||
logs/
|
||||
|
||||
# Test coverage
|
||||
coverage/
|
||||
|
||||
# Lamassu specific
|
||||
.lamassu/
|
||||
*.pem
|
||||
*.crt
|
||||
*.key
|
||||
|
||||
# Claude Code
|
||||
.claude/
|
||||
|
||||
# Pre-commit (auto-generated by devenv)
|
||||
.direnv/
|
||||
.pre-commit-config.yaml
|
||||
|
||||
# External dependencies (cloned for docker)
|
||||
Lightning.Pub/
|
||||
# Docker
|
||||
docker/**/data/
|
||||
|
||||
# Temporary
|
||||
tmp/
|
||||
temp/
|
||||
*.tmp
|
||||
*.timestamp-*.mjs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue