BlockdagNetworkLabs / blockdag-scripts

BlockDAG Installer for Linux/Ubunutu and MacOS
https://blockdag.network
13 stars 2 forks source link

Checking wallet balance #9

Closed techmemes closed 3 weeks ago

techmemes commented 1 month ago

Could you please provide insight into how to check the wallet balance once the node has been running for a few hours.

RumoursGR commented 1 month ago

After using the wallet.sh command, a wallet has been created with a mining address AND a private key. Insert the private key into the MetaMask wallet and, given you've already added the BlockDAG testnet network there, you'll be able to check the $BDAG balance. I hope this helps. :)

Harmanqureshi commented 1 month ago

Interesting web

dev001101 commented 3 weeks ago

Hi @techmemes , To fetch your wallet balance in BlockDAG UTXO, follow these steps:

Navigate to the blockdag-scripts/linux/bin/wallet directory.

First, update your wallet to the current state by running:

./blockdag-wallet qc updateblock

This will sync your wallet with the blockchain.

Once your wallet is fully synced, you can check your balance by running:

./blockdag-wallet qc getbalance your_public_wallet_address

Replace your_public_wallet_address with your actual wallet address, and you should see your balance displayed.