PelagusWallet / wallet-starter

Example wallet framework
GNU General Public License v3.0
31 stars 5 forks source link

💡 [REQUEST] - Standardize Error Codes #29

Open Juuddi opened 1 year ago

Juuddi commented 1 year ago

Summary

The vast majority of EVM based extension wallets follow the error code standards outlined in EIP-1194 and EIP-1474

Pelagus should follow the same or similar standard for familiarity among developers.

Basic Example

Application sends a request with invalid parameters and the Pelagus extension returns an error to the browser with the code -32602.

alanorwick commented 1 year ago

Ack, will improve