I need to resolve this issue. What should I do?
We first use deeplink to connect the app and obtain the wallet address, then sign a message.
However, when we use the official verifyMessageV2 method to verify the signature, the recovered wallet address does not match the original connected wallet address.
In addition, for the same wallet, the recovered address is different each time.
Steps to Reproduce
1. Connect the app via deeplink
2. Get the wallet address
3. Sign a message
4. Verify the signature using verifyMessageV2
5. Compare the recovered address with the original wallet address
Actual Result
• The recovered address does not match the connected wallet address
• For the same wallet, the recovered address is different each time
Expected Result
• The recovered address should match the connected wallet address
• For the same wallet and the same signing data, the recovered result should be stable and consistent
⸻
1
我需要解决这个问题,请问我该怎么做?
我们先通过 deeplink 连接 app 并获取钱包地址,然后对消息进行签名。
但是,使用官方 verifyMessageV2 方法验证签名时,恢复出来的钱包地址与最初连接的钱包地址不一致。
另外,对于同一个钱包,每次恢复出来的地址都不一样。
复现步骤
1. 通过 deeplink 连接 app
2. 获取钱包地址
3. 对消息进行签名
4. 使用 verifyMessageV2 验证签名
5. 对比恢复地址和原始钱包地址
实际结果
• 恢复地址与连接的钱包地址不一致
• 同一个钱包每次恢复出来的地址都不一样
预期结果
• 恢复地址应与连接的钱包地址一致
• 对于同一个钱包和相同签名数据,恢复结果应稳定且一致
I need to resolve this issue. What should I do?
We first use deeplink to connect the app and obtain the wallet address, then sign a message.
However, when we use the official verifyMessageV2 method to verify the signature, the recovered wallet address does not match the original connected wallet address.
In addition, for the same wallet, the recovered address is different each time.
Steps to Reproduce
1. Connect the app via deeplink
2. Get the wallet address
3. Sign a message
4. Verify the signature using verifyMessageV2
5. Compare the recovered address with the original wallet address
Actual Result
• The recovered address does not match the connected wallet address
• For the same wallet, the recovered address is different each time
Expected Result
• The recovered address should match the connected wallet address
• For the same wallet and the same signing data, the recovered result should be stable and consistent
⸻
1
我需要解决这个问题,请问我该怎么做?
我们先通过 deeplink 连接 app 并获取钱包地址,然后对消息进行签名。
但是,使用官方 verifyMessageV2 方法验证签名时,恢复出来的钱包地址与最初连接的钱包地址不一致。
另外,对于同一个钱包,每次恢复出来的地址都不一样。
复现步骤
1. 通过 deeplink 连接 app
2. 获取钱包地址
3. 对消息进行签名
4. 使用 verifyMessageV2 验证签名
5. 对比恢复地址和原始钱包地址
实际结果
• 恢复地址与连接的钱包地址不一致
• 同一个钱包每次恢复出来的地址都不一样
预期结果
• 恢复地址应与连接的钱包地址一致
• 对于同一个钱包和相同签名数据,恢复结果应稳定且一致