Hey everyone.
I’m working on a website for a game where players can use Bitcoin to compete against each other. Problem is, I have zero clue how to set up a wallet system for users. I know many sites generate unique Bitcoin addresses for each user, but how do I connect it all to my site?
Exactly, you’d be using a custodial wallet, which means you control the private keys, not your users. Just a heads up: using web wallets can be risky. Remember, not your keys, not your coins.
So, bitcoind is basically a daemon that syncs the blockchain and verifies transactions. You can interact with it using bitcoin-cli. The graphical version is easier if you don’t want to mess with command lines.
Any block explorer can show transaction amounts, no need for walletexplorer.com. And yeah, most casinos use deterministic wallets where each user gets addresses derived from a single seed.
Post is right. Plenty of platforms run deterministic wallets for users. You can't just say "same wallet" better to think of it as using the same seed for multiple addresses.
Yeah, BTCPay Server has an API for custom integrations, but not sure how well it would work for a casino. Maybe try contacting other casinos for advice?
Well, not many of us are programmers here, so I get why it wasn’t mentioned. Bitcoinjs is cool but might lack some wallet features. Also, check out Bitcore; it has some wallet-related functions.