Access the RPC port of the blockchain through a server created based on nodejs to record the information and transaction of the blockchain.
Download the [nodejs server] source to the [git clone] and install the related module.
$ wget https://testnet.tncdapp.com/download/tnc_nodejs_testnet.tar $ tar -xvf tnc_nodejs_testnet.tar $ cd tnc_nodejs_testnet $ npm install $ node src/app.js
Set the blockchain interworking information in the [src/config/config.ini] file.
module.exports = { mode : 'development', version : '0', port : 3034, api_url : "ws://192.168.100.34:7002", address_prefix : "TNC", fee_string : "TNC", fee_string_rpad : 6, creator : "", creator_wif : "", chain_id: "92deec447baf67f490c59eacb71f2d951bab2c411b786874f8e5db2d53e1e6b6", // testnet };
Please enter a nickname.
Your post has been completed.