Checklist
Lotus component
What is the motivation behind this feature request? Is your feature request related to a problem? Please describe.
lotus wallet sign should adopt FRC-102 which has been approved.
Describe the solution you'd like
lotus wallet sign should adopt from the above FRC-102:
- version-0x46-f - add a signing envelope with a "Filecoin Signed Message" prefix for native messages
- version-0x45-e - add a signing envelope with an "Ethereum Signed message" prefix for FEVM messages
Adding some signing envelope is to prevent spoofing transactions when asking users to sign arbitrary messages and this is widely adopted in the Ethereum community.
Describe alternatives you've considered
ledger-filecoin (for Ledger HW), iso-filecoin and FilSnap have adopted this FRC-102 standard.
There might also be Filecoin JSON RPC API endpoints that may need to be updated.
Additional context
No response
Checklist
Ideas.Lotus component
What is the motivation behind this feature request? Is your feature request related to a problem? Please describe.
lotus wallet signshould adopt FRC-102 which has been approved.Describe the solution you'd like
lotus wallet signshould adopt from the above FRC-102:Adding some signing envelope is to prevent spoofing transactions when asking users to sign arbitrary messages and this is widely adopted in the Ethereum community.
Describe alternatives you've considered
ledger-filecoin (for Ledger HW), iso-filecoin and FilSnap have adopted this FRC-102 standard.
There might also be Filecoin JSON RPC API endpoints that may need to be updated.
Additional context
No response