Hi, how are you?
I am now developing some project.
And I need to update the wallet balance in real-time.
So now, I set the interval which gets the balance of wallet.
But I think this is not good solution.
Is there any other solution better than this?
as a starting point there is a basic example here to do this via an API service like Blockfrost:
or this basic example of doing it with cardano-wallet component:
Yes, this is helping.
By the way, what do you think of Meshjs for wallet integration?
Thank you very much for your help.
I have some questions for you.
I am now working on NFT staking system (without locking)
And I have problem how to calculate the reward exactly.
(I was trying to do it by taking the snapshot of NFT holders but not going well.)
Can we discuss further?
@Eagering_Dev If you’re on linux and running cardano-node then the Mafoc chain indexer (which I’m writing) can do it with
cabal run mafoc:exe:mafoc -- addressbalance path/to/node/folder -a your_address1 -a your_address2
It’s very much in alpha but the
addressbalance indexer does exactly that: monitor transactions targeting your account.