Ensure you have the following dependencies installed:
sudo apt install nodejs
sudo apt install npm
Install project dependencies:
npm install
Update the config.json
file with your specific details:
{
"addressHex": "0x1e4eaf458e93ad4331e046c72fafc78c1bbba7b5",
"chainId": 1990,
"rpcUrl": "http://your-node-ip:52537"
}
Run the following scripts:
-
Decode Address:
node decode-address.js
This script formats the config hex address to a Mazze-compatible format.
-
Fetch Address Funds:
node fetch-address-funds.js
This script fetches the balance of an address in Mazze.