Closed tothstevee closed 7 months ago
openWallet
needs to be called with a path to a previously created wallet, so this fails because "wallet_" + Date.now()
is always unique. First call createWallet
.
Thank! Now i understand how is it work. My other issue now is i'm getting back 0 balance but the account had some. Is that a daemon rpc issue?
The wallet needs to be synced from the wallet's restore height which requires a connection to daemon RPC.
I have a wallet with all the keys view, spender, primary but when i try to open any wallet i got this error:
MoneroRpcError: Failed to open wallet
`const walletRPC = await moneroTs.connectToWalletRpc( "http://127.0.0.1:18083" );