Skip to main content

Exchange Integration Guide

This guide describes how to add HyperChain Network Coin SNC to your cryptocurrency exchange.

Install HyperChain

Installing HyperChain is simple and can be installed on Linux or Windows or Darwin. We highly recommend setting up at least two nodes on high-grade computers/cloud instances, upgrading to newer versions promptly, and keeping an eye on service operations with a bundled monitoring tool.

The server should be isolated from public network and have the following ports opened publically:

-- 9714: default HyperChain network protocol port

Locally but not publically, the following ports should be opened

-- 8121: default JSON-RPC port

Setting up Deposit Accounts

To set up a deposit account for your exchange, simply generate a HyperChain keypair.

We recommend using a unique deposit account for each of your users.

Listening for Deposits

When a user wants to deposit SNC into your exchange, instruct them to send a transfer to the appropriate deposit address.

Scanning user Deposits

Once your exchange is operational, you need to scan for deposits using same sort of workflow you would use for other cryptocurrencies.

How to scan

It can be done in many ways:

-- Using getWalletOperations: An example should be call getWalletOperations with a depth=10 and a max=1000 and process received info

-- Using getBlockOperations: to scan what happened in a block and all related operations. If they match your account/s then update your info.

To know last blockchain block number, just call getBlockCount

Testing the Integration

Be sure to test your complete workflow on TestNet before moving to MainNet. TestNet support a faucet, run snc faucet 10 to obtain some testnet SNC for development and testing.

Support

If for any reason you are experiencing difficulties, you may contact our development team on forum or E-Mail. Offers free technical support for exchange listings of HyperChain.