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

report wallet SOL balance as a fake token account #3

Open
mschneider opened this issue Oct 23, 2021 · 2 comments
Open

report wallet SOL balance as a fake token account #3

mschneider opened this issue Oct 23, 2021 · 2 comments

Comments

@mschneider
Copy link
Contributor

Below is an example I wrote. We use this as a convenience method to populate drop downs for deposits.

https://github.com/blockworks-foundation/mango-client-v3/blob/main/src/token.ts#L24

@dholms
Copy link
Contributor

dholms commented Oct 24, 2021

I'd like to add a method to User for returning all of their token accounts.

What's the benefit of returning SOL balance as wrapped SOL balance? Isn't it a bit misleading?

@mschneider
Copy link
Contributor Author

mschneider commented Oct 24, 2021 via email

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