-
Notifications
You must be signed in to change notification settings - Fork 281
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
feat(sdk-coin-sol): add sol token recovery support #4034
Conversation
52ded52
to
ddc96b5
Compare
fbc1d2e
to
a03b8e8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replied to the comment, but I am not convinced that hard coding this structre outside of statics is the best way to list out these tokens, maybe theres a constraint I'm not aware of that makes this harder to do. Lets discuss in slack/focus hour?
fcddefc
to
5157d36
Compare
5157d36
to
8a46e48
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comment, buy WP owned files lgtm
@@ -572,6 +600,38 @@ export class Sol extends BaseCoin { | |||
}; | |||
} | |||
|
|||
protected async getTokenAccountsByOwner(pubKey = ''): Promise<[] | TokenAccount[]> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should an empty pubkey be valid for this?
Adding in token recovery support for solana. This has been tested e2e for both cold and hot wallets.
TICKET: WP-930