הצטרף ל-Nostr
2026-03-28 16:56:12 UTC

MachuPikacchu on Nostr: Experimenting with using RL to train an adversarial bitcoin-script generator. It ...

Experimenting with using RL to train an adversarial bitcoin-script generator.

https://github.com/machuPikacchuBTC/bitcoin-rl

It could be useful for testing future opcodes like OP_CAT. It's built on the MuZero architecture with a reward policy derived from Rusty Russell's varops budget calculations.

I don’t have much time to maintain it and for now it’s just for curiosity and learning. No guarantees about accuracy or performance but it can generate valid scripts when trained for about 20-30 minutes on a good CPU. No GPU support for now because the Monte Carlo tree search is sequential and in the current implementation it’s hard to parallelize it so we’re CPU bottlenecked anyway.