I made the Replit repl that I used for the #AI + #Bitcoin tutorial video public as a template. It’s now available to be forked if you’d like a quick way to start experimenting with LangChainBitcoin.
You can find it here: https://replit.com/@HannahRosenber1/LangChainBitcoin?v=1
Notes:
This works with a testnet node.
You’ll need…
- your node’s admin.macaroon
- your node’s tls.cert
- your node's IP address or URL
- an OpenAI API key
- a bit of outbound liquidity
The data.py file is for testing your connection to your node.
The main.py file is for making purchases!
Here is the tutorial video to follow along with: https://youtu.be/6u1G8QIDuNU
Here is the LangChainBitcoin repo with lots more info in the readme: https://github.com/lightninglabs/LangChainBitcoin/