This is a step-by-step guide for adding bitcoind as a Hot Wallet Buy source. The following example is based on the presumption that the bitcoind daemon has been installed, configured, and tested for proper use.
Tip |
---|
This guide is intended to help you setup a working Bitcoin Core server with a functional CAS. |
Info |
---|
Even more information: Node Tutorial (Generic) |
Assemble the required information for CAS:
Userprotocol : user : password : host : port : label
protocol: http (always)
user: this is the “RPC User” you created when setting up the node. For
From this example we'll
use:
AnyNameYouWantHere
password: is the “RPC Password” created by the rpcauth.py
earlier, or the one script during the node setup.
For this example, the password is:
Kq66rZya7MNpCU_e0zZSgjR2Mb7rBeyX9QSeGhwPMeY=
You may (instead) use a password you made up (if you didn't implement a token
via
rpcauth.py
).NOTE: do not confuse this password is DIFFERENT than any with the Wallet Tunnel password provided. They are different!
Hosthost: the IP of the Bitcoin Core server.
If using a SSH tunnel from the node to CAS, it would be:
127.0.0.1
When using the Wallet Tunnel, the IP is the server's public IP.
Portport: the exposed port of the Bitcoin Core server (normally 8332
).
Labellabel: (optional) a wallet label specified within your Bitcoin Core implementation.
NOTE: a wallet label is discouraged. The Bitcoin convention is to use a unique, unused wallet address for every transaction. Setting a wallet label defeats that privacy intent, and has little (if any) benefit. Please inquire with Support if you’d like instructions anyhow.
Next, add a new crypto-currency type to CAS:
Enter the “Crypto Settings” menu in the left-hand column.
Click on the “+ ADD” button.
Create a suitable description, i.e. “Bitcoind BTC”.
Select “BTC” for the required Crypto Currency* setting.
Set Configuration Cash Currency* to“USD” (or whatever your local currency might be).
Set Buy Rate Source to whatever source you prefer.
Set Minimum Cash Amount Per Transaction*
Enter the smallest transaction amount you'll accept.
When a transaction has been initiated by the customer, the first banknote inserted in the acceptor must be this amount, or more.
8. Select your Hot Wallet Buy source to “Bitcoin Core - bitcoind”.
9. Enter the Parameters for bitcoind as determined in the previous steps:
Example (typical): “http:rpcuser:rpcpw:127.0.0.1:8332”
10. If you are using the GB Wallet Tunnel, enable it and enter the tunnel password:
11. Click on “SUBMIT” to save your settings:
Finally, test it out :
Select Test Hot Wallet Buy from the RUN BTC SETTINGS TEST.
Tip |
---|
Configure the Hot Wallet Sell using the same parameters if you implement it on any 2-way BATMs. |
You're done!
Info |
---|
|