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

How can I sync the balance an transactions for a wallet? #19

Open
ghost opened this issue Jul 9, 2018 · 3 comments
Open

How can I sync the balance an transactions for a wallet? #19

ghost opened this issue Jul 9, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Jul 9, 2018

I have a few questions. The first is why doesn't the Account class have a member that is an ArrayList or something similar that holds all the transactions for that account? From what I saw in the code, there is no way to actually store all the transactions for a wallet. Assuming there isn't a way to store these, is there at least a method for downloading them? I would also like to know if there is a callback for when the account balance is set when you call client.account(...). I see in the code that by calling client.account(...), it automatically requests the account root, but how are we supposed to know when we got a response?

@sublimator
Copy link
Owner

Never got around to it :)

As stated in the README, the client is pretty crappy, and unless you know what you are doing (read: can modify to fix bugs etc), I wouldn't use it ...

@ghost
Copy link
Author

ghost commented Jul 11, 2018

Alright, how reliable do you think the core library is? I was planning on using it to generate wallets and create transaction objects from JSON.

@sublimator
Copy link
Owner

Yeah, you're probably OK with that. I have a fair degree of confidence in that, and also, rippled will validate the transactions. Wallet generation is also likely fine.

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

1 participant