I am running a nockchain minning instance, how do I connect my wallet to the instance to check my wallet balance like checking the minning rewards.
follow the steps here: nockchain/crates/nockchain-wallet/README.md at master · zorp-corp/nockchain · GitHub
Dear, CasimirPolandZorp:
I used the below command to check my wallet balance, but it didn’t output any information related to the balance, could you advise how we check the mining status and balance? thanks .
"nockchain-wallet --nockchain-socket .socket/nockchain_npc.sock list-notes-by-pubkey --pubkey
hmm that command should work. Sync the latest changes to the github repo, build, and try again
it’s weird, I can not list any nodes information. From the trace information, it only said
TRACE nockapp::nockapp: Write to “/Users/hcyuan/.nockapp/wallet/wallet/checkpoints/1.chkjam” successful, checksum: 62e2c1a43cc6c8c95000d9b1b78de66b8d5cd0c20d995024fb43f080dd8c7881, event: 47
2025-05-23T02:51:35.989272Z DEBUG nockapp::nockapp: Save event_num reached, finishing with code 0
2025-05-23T02:51:35.989284Z DEBUG nockapp::nockapp: Sending shutdown result
be sure you have synced from github the latest, built, and then try again. Ensure that the .socket/nockchain_npc.sock is in the same directory too
Yeah, I resynced the source and rebuilt it, and the command was executed in the same directory with .socket folder. The below is output of my “list-notes” command:
nockchain-wallet --nockchain-socket .socket/nockchain_npc.sock list-notes
2025-05-23T15:02:32.238205Z INFO nockapp::kernel: kernel: starting
2025-05-23T15:02:32.240693Z INFO nockapp::kernel::form: Found existing state - restoring from checkpoint
2025-05-23T15:02:34.027936Z INFO slogger: [%build-hash 0v10.ff6t5]
2025-05-23T15:02:34.120022Z INFO nockchain_wallet: Connected to nockchain NPC socket at “.socket/nockchain_npc.sock”
2025-05-23T15:02:34.243170Z WARN poke{src=“one-punch”}:do_poke:slam: slogger: wallet: warning: debug printing may expose sensitive information
2025-05-23T15:02:34.244083Z WARN poke{src=“one-punch”}:do_poke:slam: slogger: wallet: warning: debug printing may expose sensitive information
2025-05-23T15:02:34.329012Z INFO run:handle_exit: nockapp::nockapp: Exit signal received with code 0, forcing immediate save
wallet notes
I guess I still didn’ t mine any block , so it’s blank.
I know how to list the notes.
just rm -rf /root/.nockapp/wallet/wallet/checkpoints/* and then retry list-notes and wait
you will get the list…the result is amazing.