]> git.ardis.lu - alu.bz/commit
Fallback to ethereum.on if ethereum.addListener is not implemented
authorArdis Lu <ardisglu@gmail.com>
Thu, 15 Feb 2024 05:36:16 +0000 (21:36 -0800)
committerArdis Lu <ardisglu@gmail.com>
Thu, 15 Feb 2024 05:36:16 +0000 (21:36 -0800)
commit8c271cbe0e028d577abe953720ae7df013042948
tree727d9fc8ae8222dcd17d8af8cf0c90d708501d5d
parentc5310117bc37c403182779f121d51a227c5be37b
Fallback to ethereum.on if ethereum.addListener is not implemented

Supports older wallets (e.g. Brave Wallet) which use the deprecated .on method from EIP-1193
script.js
This page took 0.039228 seconds and 4 git commands to generate.