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

Problem: ConnectWalletConnect not working correctly in blueprint #301

Open
leejw51crypto opened this issue Apr 18, 2023 · 3 comments
Open
Assignees

Comments

@leejw51crypto
Copy link
Collaborator

leejw51crypto commented Apr 18, 2023

if sessoninfo.json doesn't exist,
it calls InitializeWallet in delegator,
but InitializeWallet is async function , need another delegate to receive result.

ConnectWalletConnect is not async function

so i suggest

  • make ConnectWalletConnect to async
  • check it's working fine without restoring information ( sessioinfo.json )
@leejw51crypto
Copy link
Collaborator Author

working on

@leejw51crypto
Copy link
Collaborator Author

move RestoreClient(OnRestoreClientDelegate); to the last line

RestoreClient(OnRestoreClientDelegate);
   _description = description;
   _url = url;
   _icon_urls = icon_urls;
   _name = name;
   _chain_id = chain_id;
   _connection_type = connection_type;

@damoncro
Copy link
Contributor

damoncro commented Apr 18, 2023

Have you tried this: https://docs.cronos.org/cronos-play/getting-started_unreal/quick-start/connect-wallets-with-qr-code? It is fully tested in blueprint and documented.

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