Blocoto Wallet Account Proof
Closed this issue · 2 comments
SIAOYUCHEN commented
Hi
I would like to do blocoto account wallet proof
I found example on Js
Could you tell me how to implment it on .net sdk or give me some direction??
https://testnet.flowscan.org/contract/A.5b250a8a85b44a67.BloctoCrypto
import {AppUtils} from '@onflow/fcl'
// as of fcl@^1.0.0
const isSignatureValid = await AppUtils.verifyAccountProof(
appIdentifier,
{
address,
nonce,
signatures,
},
{
fclCryptoContract: BLOCTO_FCLCRYPTO_CONTRACT_ADDRESS
}
)
// as of fcl@0.0.79
const isSignatureValid = const isValid = await fcl.verifyUserSignatures(
message,
signatures,
{
fclCryptoContract: BLOCTO_FCLCRYPTO_CONTRACT_ADDRESS
}
)
tyronbrand commented
SIAOYUCHEN commented
Thanks, I will take a try
It look very hopeful