-
Notifications
You must be signed in to change notification settings - Fork 14
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
Solana wallets #1980
base: master
Are you sure you want to change the base?
Solana wallets #1980
Conversation
✅ Deploy Preview for testnet-hydra-app ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for hydradx-storybook ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for edge-hydra-app ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
return !!provider?.isSolflare | ||
} | ||
|
||
export const safeConvertSolanaAddressToSS58 = (address: string, prefix = 0) => { |
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.
What is the reason behind this ? I don't think we can, or need to convert sol address to ss58 ..
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.
So it is compatible with polkadot API calls, when Solana wallet is selected as main account. It is quickest solution for now so we don't get any API errors.
No description provided.