Blocto
About porttoBlog
  • 📣Introduction
  • Blocto Environment
  • Give Feedback
  • BLOCTO SDK
    • Overview
    • JavaScript SDK
      • Flow
        • Tutorial
        • Configure FCL
        • Authenticate / Unauthenticate
        • Send Transaction
        • Account Proof
        • Flow Networks
        • Verified Transaction
        • Migration Guide
  • Blocto App
    • Deep Linking
    • Token Listing
    • NFT Listing (on Flow)
  • Technical Documents
    • Key Management
  • BloctoSwap
    • Token Listing
  • Support
    • Contact Us
    • Web Wallet v1 Sunset Notice and Migration Guide
  • Community
    • Discord
    • Twitter
    • Facebook
Powered by GitBook
On this page

Was this helpful?

  1. BLOCTO SDK
  2. JavaScript SDK
  3. Flow

Account Proof

Prove account ownership of a Flow account

PreviousSend TransactionNextFlow Networks

Last updated 22 days ago

Was this helpful?

Flow provides a way for dApps to ask for users' signatures when they connect a wallet and verify account ownership. For more information, refer to .

Currently Blocto self-custody accounts generate this signature slightly differently and needs an alternative way to verify ownership.

import { AppUtils } from '@blocto/fcl'

const isSignatureValid = await AppUtils.verifyAccountProof(
  appIdentifier,
  {
    address,
    nonce,
    signatures,
  },
  {
    fclCryptoContract: BLOCTO_FCLCRYPTO_CONTRACT_ADDRESS
  }
)

The addresses of the Blocto FCLCrypto contract BLOCTO_FCLCRYPTO_CONTRACT_ADDRESS can be found here:

Network
Blocto FCLCrypto Address

Mainnet

0xdb6b70764af4ff68

Testnet

0x5b250a8a85b44a67

Account Proof on Flow
More about verifyAccountProof api