You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, thx for contributors nice and hard work. I met a problem and look for help here.
I have build and deploy a smart contract, get the contract object in irb as follow
there is event named Deposit in the contract, and i want to do as web3.js method in Ruby
var event = myContractInstance.MyEvent({valueA: 23} [, additionalFilterObject])
event.watch(function(error, result){
if (!error)
console.log(result);
});
But when coninstance call Deposit method, NoMethodError: undefined method `Deposit' for #<Ethereum::Contract:0x007fa63617ab40> error occur
meanwhile, when i call watch method by event object
hi, thx for contributors nice and hard work. I met a problem and look for help here.
I have build and deploy a smart contract, get the contract object in irb as follow
there is event named
Deposit
in the contract, and i want to do as web3.js method in RubyBut when
con
instance call Deposit method,NoMethodError: undefined method `Deposit' for #<Ethereum::Contract:0x007fa63617ab40>
error occurmeanwhile, when i call
watch
method by event objectthe same error occur. 😦
Is there a way to call
event.watch
method as web3.js contract-eventsmany thanks.
The text was updated successfully, but these errors were encountered: