PsychicCat / monero-nodejs

Monero wallet management via JSON-RPC
MIT License
116 stars 61 forks source link

Method not found on `Wallet.address()` #10

Closed ThibaultJanBeyer closed 6 years ago

ThibaultJanBeyer commented 6 years ago

Hi, I’m connecting to my monerod cli wallet via var Wallet = new moneroWallet('localhost', '18081');

which seem to work. But when doing:

Wallet.address().then(function(a) { console.log(a) });

I get following error:

{
  "code": -32601,
  "message": "Method not found"
}

I tried different methods, also Wallet.balance(). Give me the same answer..

This is weird, what’s the issue? Thank you

ThibaultJanBeyer commented 6 years ago

Ah! Sorry, I did not run the -rpc wallet. My bad…

sneurlax commented 6 years ago