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.
$ git clone https://github.com/aladdinchain/adc_nodejs_testnet.git $ cd adc_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 : "ADC", fee_string : "ADC", fee_string_rpad : 6, creator : "", creator_wif : "", chain_id: "6220ab76142634aa0a2e54ede36c75d35900c35d30c8989196bef90673443a0a", // testnet };
Please enter a nickname.
Your post has been completed.