We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a4496d commit 1cdd405Copy full SHA for 1cdd405
src/index.js
@@ -49,6 +49,7 @@ const AlphaWallet = {
49
engine.enable = options.enable
50
engine.chainId = syncOptions.networkVersion
51
engine.isAlphaWallet = true
52
+ engine.net_version = function(){ return globalSyncOptions.networkVersion || null; } // hack to expose window.ethereum.net_version() as expected by dapps
53
engine.start()
54
55
return engine
0 commit comments