Mainnet.js vs Libauth: building Bitcoin Cash services
Watch on YouTube (opens in a new tab)- Speaker
- 2qx
- Space
- Published
- Length
Transcript
mainnet-js is just a wrapper for Libauth. When I started writing Mainnet, there were no wallets written with Libauth. So I had to go into Libauth and look at all the examples to write the wallet that's in Mainnet. So if you don't like the way that he designed it or the way that it's implemented, you can use mainnet-js as a reference implementation to write your own wallet. So lean wallet, I'm not taking credit for it, but they originally built it with mainnet-js and basically grew out of mainnet-js immediately. So they switched to using Libauth directly.
If you just want to sit down in 20 minutes and get some Bitcoin and send it or test a cache contract, mainnet-js is great. And if you have a social app or you want to add a Bitcoin Cash component, mainnet-js is great. But if you want to get into sophisticated stuff like a fully featured wallet, Libauth is the way to go.

