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

bug: onflow wallet needs to be upgraded to blocto #54

Closed
sabotagebeats opened this issue Jan 5, 2024 · 2 comments
Closed

bug: onflow wallet needs to be upgraded to blocto #54

sabotagebeats opened this issue Jan 5, 2024 · 2 comments
Assignees

Comments

@sabotagebeats
Copy link
Collaborator

sabotagebeats commented Jan 5, 2024

import * as fcl from "@onflow/fcl";

https://docs.blocto.app/blocto-sdk/javascript-sdk/flow/migration-guide

"For why to use @blocto/fcl instead of @onflow/fcl, check out this Github PR for further information."

https://docs.blocto.app/web-wallet-v1-sunset-notice-and-migration-guide

"2023/10/02 updated:
In order to bring the best user experience to our users, we have decided to postpone the due day of the sunset to November 6th. Please upgrade to wallet v2 as soon as possible in case there are some unexpected issues occurred.
If you already used FCL wallet discovery to support multiple wallet, you can keep using the original discovery URL.

To enhance user experience and safety, we will sunset Blocto Web Wallet v1 on October 2nd, 2023. After this date, users will no longer have access to Blocto Wallet on dApps integrated with Web Wallet v1. To continue providing services with Blocto Wallet, dApps need to upgrade Blocto SDK to versions interacting with v2 services.
By migrating to v2, Blocto users will enjoy an enhanced and safer experience, including new features like social login. To continue using Blocto Wallet and benefit from these features, please upgrade your Blocto SDK and/or update the FCL configuration following the guide below. The upgrade process takes approximately 15 minutes. "

@sabotagebeats sabotagebeats self-assigned this Jan 5, 2024
@sabotagebeats sabotagebeats changed the title onflow wallet needs to be upgraded to blocto bug: onflow wallet needs to be upgraded to blocto Jan 5, 2024
@sabotagebeats
Copy link
Collaborator Author

sabotagebeats commented Jan 5, 2024

looks like we are using backchannel so can follow the instructions for backchannel.

.put("discovery.wallet", "https://flow-wallet.blocto.app/authn")

new config should look something like this:

import * as fcl from "@blocto/fcl";

fcl
  .config({
    "accessNode.api": "https://rest-mainnet.onflow.org",
    "discovery.wallet": "https://wallet-v2.blocto.app/api/flow/authn",
    "app.detail.id": "YOUR_DAPP_ID"// this line is optional
    "discovery.wallet.method": "HTTP/POST"
  })

https://docs.blocto.app/blocto-sdk/javascript-sdk/flow/migration-guide

@sabotagebeats
Copy link
Collaborator Author

fixed by #55

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

1 participant