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

Getting user's wallet address #141

Open
IgorShadurin opened this issue Apr 28, 2023 · 1 comment
Open

Getting user's wallet address #141

IgorShadurin opened this issue Apr 28, 2023 · 1 comment
Labels
question Further information is requested

Comments

@IgorShadurin
Copy link
Contributor

IgorShadurin commented Apr 28, 2023

Is it possible to get the user's wallet address using Blossom?
With code like fdpClient.account.wallet.address. It looks like this field is undefined in FD.

https://github.com/fairDataSociety/fairdrive-theapp/blob/4c4cbe47a2bec7c313dd5766bd005c34fed7d566/src/pages/drive/index.tsx#L86

@tomicvladan

@IgorShadurin IgorShadurin added the question Further information is requested label Apr 28, 2023
@tomicvladan
Copy link
Collaborator

Unfortunately, it's not possible with the current implementation.

That's why it would be a good idea to replace all properties with methods in fdp-storage. Every access to blossom's fdp-storage is async, so the only way to implement it is by converting everything to async methods, to keep the same API.

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

No branches or pull requests

2 participants