How can I install bitcoin wallet api for dice site ? Need help from expert, any video or tutorial ?
Hi there,
So, in short, you need to install bitcoind on your system with a local copy of the blockchain. Check out this site:
https://en.bitcoin.it/wiki/Running_BitcoinInstalling bitcoin on linux:
https://bitcoin.org/en/full-node#linux-instructionsInstall Bitcoin on windows:
https://bitcoin.org/en/full-node#windows-instructionsRunning bitcoind:
https://en.bitcoin.it/wiki/BitcoindYou need to configure bitcoin to run in server mode, so in short, modify bitcoin.conf:
server=1
rpcbind= (local ip address of the server bitcoind is on)
rpcallowip= (ipaddress of the web server where your dice script is located)
rpcport=8332 (i suggest changing this to a different port number)
If you don't have wallet code for your dice script, ask your developer where you enter in the wallet information. You should really, really, really learn to code before running a dice site. You have no idea what backdoors may exist in the database or wallet functions. Installer beware.
Also, don't forgot to firewall the ports for your wallet, you don't want any inbound connections to the rpcport from the internet, at all. Also, make sure you don't allow any ports other than 443 to your webserver. If you're doing ssh to your server, make sure you only allow your ip address to connect to it and you should only allow connections with a certificate as well, plain old ssh is going to get you into trouble.
Good luck