BEP wallet (Binance Wallet) bnbSign -> verify signature issue

Hello I need help. We want to let user proof the ownership of their BEP2 address using the Binance Wallet. The Binancechain plugin extension “bnbSign” works and generate the publicKey and Signature for a given text message. But the signature verification not working . Practically it is not the signature formatted , shall I decode the signature anyone knows amino way to decode signature , or how?


the reference

Thanks a lot for support

1 Like

You can try using this function from the JavaScript SDK: javascript-sdk/src/crypto/index.ts at master · bnb-chain/javascript-sdk · GitHub.

1 Like