Migration Guide
Migrating Blocto wallet from v1 to v2
Changes
Upgrading Dependency
yarn upgrade @blocto/fcl@^1.4.0npm install @blocto/fcl@^1.4.0npm install @blocto/fcl@^1.4.0Upgrading the FCL Configuration
import * as fcl from "@blocto/fcl";
fcl
.config()
- .put("accessNode.api", "https://access-mainnet.onflow.org")
+ .put("accessNode.api", "https://rest-mainnet.onflow.org")
- .put("challenge.handshake", "https://flow-wallet.blocto.app/authn")
+ .put("discovery.wallet",`https://wallet-v2.blocto.app/${YOUR_DAPP_ID || "-"}/flow/authn`)Last updated
Was this helpful?