Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Balance store not working #6

Open
Gilgames000 opened this issue Apr 16, 2022 · 1 comment
Open

Balance store not working #6

Gilgames000 opened this issue Apr 16, 2022 · 1 comment

Comments

@Gilgames000
Copy link

Hi! Thanks for creating this amazing library. I am playing around with it using svelte and I noticed that the $balance.amount store never gets updated. am I missing something or is it not implemented yet?

Also, how would I go about listening for updates or events using web3w flow? Should I just use ethers and for example update a custom store with provider.on("block", updateBalance); instead?

@wighawag
Copy link
Owner

Hey @Gilgames000 sorry for the very very slow answer,
Yes balance is indeed not implemented yet (

// TODO balance
)

yes you would have to update it yourself, I use something like you describe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants