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 [api server] source to the download and install the related module.
$ wget http://developer.mirena.com/download/mirena_api.tar $ tar -xvf mirena_api.tar $ cd mirena_api $ 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 : 3045,
api_url : "ws://127.0.0.1:24530",
address_prefix : "PUB",
fee_string : "MIRENA",
fee_string_rpad : 8,
creator : "",
creator_wif : "",
chain_id: "15e5ee033ee7923c6050ee42dae6a7a872134f8cdc9cad3981e9fe814d824322",
};
Please enter a nickname.
Your post has been completed.