- 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>
14 lines
422 B
TypeScript
14 lines
422 B
TypeScript
/**
|
|
* Schema validation script for Nostr events
|
|
*
|
|
* This script validates that event schemas conform to Nostr NIPs.
|
|
* Used by pre-commit hooks to catch schema errors early.
|
|
*/
|
|
|
|
// TODO: Implement schema validation
|
|
// - Validate event kind numbers match NIP specifications
|
|
// - Validate tag formats
|
|
// - Validate content structure for typed events
|
|
|
|
console.log('Schema validation not yet implemented')
|
|
process.exit(0)
|