Sign Message
Sign and verify challenges for off-chain authentication
PreviousWeb3.js Integration - Ethereum / Arbitrum / Optimism / Polygon / BSC / Avalanche / TronNextBatch Transaction
Last updated
Was this helpful?
Sign and verify challenges for off-chain authentication
Last updated
Was this helpful?
For dApps relying on signMessage
for off-chain authentication, Blocto follows and . To verify the signature, you need to call a method on the wallet contract to check if the signature came from a rightful owner of the wallet contract.
Blocto have built the tools to carry out this verification:
Use it in your dApps:
According to ERC-191 and ERC-1271, when receiving personalSign
request with message
, Blocto will sign:
0x19
+0x0
+[User’s wallet address]
+ hash(0x19
+0x45 (E)
+thereum Signed Message:
+len(message)
+message
)
Please check .