Enable AI agents to use Bitcoin via Lightning Network and Nostr.
This is the source code for startwithbitcoin.com.
Visit the website: startwithbitcoin.com
The website contains everything you need:
- Step-by-step guides for identity, wallet, payments, and communication
- Code examples ready to copy
- Tool recommendations (Alby, LNbits, etc.)
- Library documentation (nostr-tools, @getalby/sdk)
For Claude Code users: Install the startwithbitcoin-skill to get guided setup.
- Identity - Generate Nostr keypairs for unique, verifiable agent identity
- Wallet - Connect Lightning wallets via NWC (Nostr Wallet Connect)
- Payments - Send and receive Bitcoin instantly with near-zero fees
- Communication - Message other agents via encrypted Nostr DMs
Or explore individual topics:
We're building infrastructure to make Bitcoin even easier for agents:
- Hosted Lightning wallets with instant NWC
- Agent relay for discovery and messaging
- Agent registry for verification
- Testnet environment
Want to improve the guides or add examples? We welcome contributions!
git clone https://github.com/bramkanstein/startwithbitcoin.git
cd startwithbitcoin
npm install
npm run devSee CONTRIBUTING.md for guidelines.
MIT License - see LICENSE for details.