Skip to content

BTC Altcoin API Configuration

Trademen provides BTC altcoin API for interacting with BTC altcoin node. To enable BTC altcoin API you need to go to Application Control > Application Settings > Api Settings > Bitcoin from sidebar nav. If you want to configure another altcoin like Litecoin then select Litecoin.

Note: If you didn't select the coin API from coin setting API section then you couldn't find the API settings here. So first you have to select the API from the coin settings

Coin API Settings

Fill out all the form fields except SSL Cert File Location field and update the setting. If you want to use ssl certificate to communicate with BTC altcoin node then fill SSL Cert File Location field otherwise it won't necessary.

BTC Altcoin Settings

BTC Altcoin Node Configuration

To allow RPC call from your system add the following setting into your BTC Altcoin node config file

rpcallowip=127.0.0.1    #Your server IP address

To active wallet notify you may add the following setting into your BTC Altcoin node config file. Before adding the setting make sure this URL http://your-domain.com/api/ipn/bitcoin/BTC works perfectly. To check the you need to visit the URL from your browser if it return blank then it's ok.

walletnotify=curl http://your-domain.com/api/ipn/bitcoin/BTC?txn_id=%s

Note: After every change to your BTC altcoin config file. Don't forget to restart the BTC altcoin node daemon