Hot answers tagged

1 vote

TypeError: LoginContract.LoginAttempt is not a function

Code for Web3.js v 4.x.x (will also work for v 1.x.x) const events = LoginContract.events.LoginAttempt(); events._emitter.on("connected", function(subscriptionId){ console.log(...
AMANPREET BAINS's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible