Questions tagged [monero-wallet-rpc]
A Monero application used to provide programatic access (via an RPC interface) to Monero wallets.
157
questions
0
votes
1
answer
15
views
Simulating a double spend transaction on Monero (Creating an intentionally invalid tx)
I want to create an end-to-end test in order to validate that an application doesn't let you spend before an incoming transaction confirms. I'm trying to broadcast an invalid tx to the Monero network ...
0
votes
0
answers
31
views
Fetching balance for Monero Wallet with getBalance function in JavaScript doesn't work. I am using RPC method for it. Output: Showing HTTP/ error
const publicKey = req.body;
try {
//connect to daemon
let daemon = await monerojs.connectToDaemonRpc("http://localhost:28081", "pinkumonero", "1234");
let ...
1
vote
1
answer
50
views
Monero wallet rpc deducts 10 XMR from address when I call the transfer function (incorrect amount)
When I try to call the transfer function over RPC with php-curl.
It sends the incorrect amount out of my subaddress.
Following code:
function send_xmr($from, $to, $xmr)
{
$piconero = bcmul($xmr, '...
0
votes
1
answer
61
views
How to get the balance of my monero wallet remotely?
I need to be able to display the balances of a bunch of Monero wallets/accounts which I've created locally, on a remote VPS.
The private keys of those accounts will remain on my local computer only.
I ...
0
votes
0
answers
40
views
How to create a transaction (RPC) using the balance from multiple accounts?
Regarding the wallet RPC, I was wondering how to create a transaction using the unlocked balance from multiple different accounts.
Assuming I want to send 5 XMR to address A (a friend) and I have an ...
0
votes
1
answer
37
views
Set a fixed fee at transaction creation in the wallet RPC
I started using the Monero RPC to create transactions.
For the moment I use the transfer function from the wallet RPC to send Monero to another wallet.
But I'm wondering if there is any way to create ...
1
vote
1
answer
53
views
Monero's wallet RPC validate_address is not working using PHP or CURL
All the other RPC methods are working for me, except the validate_address one, which always returns an error. I tried both curl (CLI) and PHP, neither of them work, they return the same error:
{"...
0
votes
1
answer
77
views
Monero Wallet RPC seemingly stuck on sync?
I'm currently experimenting with the wallet RPC. I'm using version 0.18.1.0 on stagenet with a remote daemon (tried multiple ones).
When I open (or restore) a wallet, the (what I assume) syncing or ...
0
votes
1
answer
70
views
Why is it impossible to sign/verify a message with a subaddress?
When I want to sign a message/file, the wallet (gui/cli/rpc) only asks for the message, so it is impossible to sign it with a subaddress.
When I verify the signature, I must insert the main address. ...
0
votes
1
answer
176
views
Проблемы с входом в кошелёк Gui Wallet после обновления v0.18.1.0
16.08.2022 мне были отправлены монеты, но в своём графическом кошельке GUI я их так и не увидел. На сайте монеты https://www.supportxmr.com/ увидел сообщение что 13 августа прошло обновление сети ...
0
votes
1
answer
236
views
Monero RPC Help
I'm having an issue with using the Monero RPC.
My node is all setup and working and using monero-wallet-cli I can create a wallet, send funds etc, however when I try to use the RPC I get the following ...
2
votes
1
answer
451
views
How do `rpc-bind-ip` and `restricted-rpc` and `rpc-login` interact?
Let's say that I were to pass --rpc-bind-ip 0.0.0.0 to monerod, and also --restricted-rpc (along with the external bind confirmation), what would the outcome be? What does the second command do when ...
0
votes
1
answer
65
views
How to sign a transaction using javascript
I know that it is possible to create an unsigned transaction using the wallet RPC (with the command transfer). Is it possible to sign this transaction with just javascript (without using the wallet ...
0
votes
1
answer
71
views
Have I lost a coins?
I created a GUI wallet and while the synchronization was in progress, I created a subaddress and transferred half a coin to it. But there were problems with synchronization while the blockchain was ...
0
votes
1
answer
310
views
Wallet RPC error (internal error: "wallet.keys" is opened by another wallet program)
I try to connect to a remote node with monero-wallet-rpc.
Every guide that has been shown was how to connect via monero-wallet-gui or monero-wallet-cli.
I specifically need monero-wallet-rpc.
...
0
votes
1
answer
147
views
How to create a RPC wallet from the console?
How do I create a wallet to simply confirm receipt?
nicholas@mordor:~/monero_console$
nicholas@mordor:~/monero_console$ ll
total 461
drwxrwxr-x 3 nicholas nicholas 5 Dec 27 10:04 ./
drwxr-x--- ...
0
votes
1
answer
52
views
Creating addresses on an exchange
I have a question, how are addresses for users created on an exchange? As a subaddress or as a new wallet?
If you take an example like LocalMonero, how are the addresses made there?
0
votes
0
answers
128
views
Problem using the monero-integrations/monerophp library
I downloaded the Monero CLI wallet and the monero-integrations/monerophp library.
After, I ran:
./monero-wallet-rpc --daemon-address 86.181.101.213:18089 \
--wallet-file testwallet --password 1234 ...
2
votes
1
answer
59
views
Error: sv/gamma are too large
I got this error with monero-wallet-rpc when trying to send 16 addresses monero with monero-pool.
2021-09-01 22:57:34.147 E sv/gamma are too large
When I tried to manually send the transaction in the ...
0
votes
1
answer
99
views
monero-nodejs Error: connect ECONNREFUSED 127.0.0.1:18082
Right now I am using github.com/PsychicCat/monero-nodejs and am getting the following error:
Error: connect ECONNREFUSED 127.0.0.1:18082 at TCPConnectWrap.afterConnect [as oncomplete (node:net:1138:16)...
2
votes
1
answer
121
views
How to create a "Monero Wallet" for my each user in my website?
I am creating a website where I want to accept Monero as payment method. I want to create a monero wallet for my each signed up user. Like say for example, when a user logs in, his BTC, ETH, XMR and ...
1
vote
0
answers
115
views
wallet-rpc: "Transaction not found" but --tx-notify fired
It's so annoying it hurts. I'm running wallet-rpc on testnet using the following command:
monero-wallet-rpc --daemon-host testnet.community.xmr.to --disable-rpc-login --testnet --trusted-daemon --rpc-...
1
vote
1
answer
34
views
Transaction ID has invalid size
I'm trying to get information regarding a transaction from testnet, so I'm sending a JSON request to monero-wallet-rpc:
{"id":"0","jsonrpc":"2.0","method&...
0
votes
1
answer
96
views
How to calculate address balance with daemon RPC calls?
Say you are trying to program monero-wallet-cli for the first time.
You've got a Monero daemon running that affords you this API: https://www.getmonero.org/resources/developer-guides/daemon-rpc.html
...
0
votes
1
answer
129
views
Transaction weight/size understanding
According to Monero source code there are two metrics for the transaction size:
Size https://github.com/monero-project/monero/blob/v0.17.2.0/src/wallet/wallet2.cpp#L870
Weight https://github.com/...
1
vote
1
answer
64
views
I don't get a JSON response from the TRANSFER method
I want to transfer money using the transfer method.
I run the method and get JSON:
{
"error": {
"code": -17,
"message": "not enough money"
},
&...
0
votes
0
answers
91
views
I Need Help Please With Monero GUI wallet issue
please help, I exchanged BTC to Monero using changehero.io and changenow.io, i am still yet to receive the funds on my xmr for two days now. I had two separate transactions, no one is reflecting on my ...
3
votes
1
answer
2k
views
Advantages of using monerod over Tor
According to the README, it seems like only the transactions sent from local RPC to the daemon get propagated through Tor. I am unable to understand why this choice was made/what its advantages may be....
0
votes
1
answer
354
views
Monero and Tor onion service
Is it possible to run Monero completely over and as a Tor onion service?
1
vote
1
answer
137
views
Making sense of monero-wallet-rpc get_transfers returning 3 TXs for a TXID
I'm writing an app where I fetch and transparently display all TXs for a wallet.
When I send a POST request to the monero-wallet-rpc with the get_transfers method and the in: true parameter, I get ...
1
vote
1
answer
479
views
Monero wallet RPC does not use HTTPS?
The examples on https://www.getmonero.org/resources/developer-guides/wallet-rpc.html for using the monero wallet rpc has all the examples running over http not https and I can't seem to get them to ...
1
vote
1
answer
612
views
SSL handshake failed due to unexpected packet format
I am trying to connect to a Monero stage net node to make some basic RPC calls and start building a library for working with Monero however I am getting an SSL error when connectiong.
using System;
...
0
votes
1
answer
132
views
Monero RPC get_transfer by php monero-integrations
I try to get the transaction by calling get_transfer, but I dont know how to send the $subaddr_indice to get the right answer back
i have:
[subaddr_indices] => Array
(
...
1
vote
1
answer
92
views
How can online store embed some context or product-id in a Monero payment?
I am writing an online store able to accept XMR payments. I know there are some existing solutions to do so, but this project is self-educational rather than commercial.
Serverside, I run a monerod ...
1
vote
1
answer
354
views
What is the difference between Sweep All and Sweep Single?
The Monero source code specifies sweep single, and sweep all in its RPC Server Commands section. What is the difference?
0
votes
1
answer
73
views
How to start syncing and check status of Remote Daemon Node using monero-javascript npm package?
I am using monero-javascript library to make a web app. When, I change the remote node, how can I start syncing my existing wallet with new Remote node.
Also when I do:
curl http://node.moneroworld....
0
votes
1
answer
2k
views
How to check Monero balance via address and view key?
I have 3 accounts, without seed phrase, only address, view key and spend key. How can I check my balance?
Maybe I can integrate the accounts with the wallet RPC? I think it`s possible, because ...
1
vote
1
answer
188
views
Monero daemon sees deposit but doesnt record it
Coding a wallet for my website. I built a testnet and stagenet wallet. Both versions same issue so I think it's me. Utilizing xmr.to for test coins and the node address.
I start the wallet RPC like:...
1
vote
2
answers
188
views
Parse error on make_integrated_address
I am getting "Parse error" on a make_integrated_address request. How do I fix it?
I generated the payment ID using this command in the terminal : openssl rand 32 -hex
The error looks like ...
0
votes
0
answers
90
views
Using the Monero wallet RPC it takes 10 minutes to create a subaddress. What's the problem?
Using the Monero wallet RPC command create_address it takes 10 minutes to create a sub address. What's the problem?
2
votes
1
answer
138
views
tx-notify being triggered 2 times per transaction
I'm using tx-notify with the monero-wallet-rpc and am having issues understanding the logic behind when tx-notify is triggered.
Right now from what I've experienced so far, tx-notify is triggered ...
0
votes
1
answer
222
views
How to conduct E-commerce transactions, XMR to GBP and conversion to fiat without KYC registration documents
I'd be grateful for some advice and help. I’m not a web developer and have basic knowledge of html and even less of crypto language.
What I want to do is sell items on a website where customers pay ...
0
votes
1
answer
78
views
Transfer with wallet rpc do_not_relay=true do transfer
I try to use the do_not_relay param with transfer but it is still transferring funds.
curl -X POST http://127.0.0.1:8001/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"transfer","params":{"...
0
votes
1
answer
1k
views
Can someone send monero to my subaddress that starts with "8"?
After I got my wallet onto mainnet, I get an address starts with "8" (normal monero address starts with "4"), and it's a subaddress with a costom label. Can someone send funds to that address?
1
vote
1
answer
255
views
How can i get current fee from monero-wallet-rpc
I wanna make transactions during monero-wallet-rpc.
When I wanna send some amount I wanna know the fee's before Im transfering the funds to other wallet.
How can i get the fee's regarding a ...
1
vote
1
answer
86
views
Multisig requires new wallet or new address?
I'm following the information here but hoping to save some troubleshooting time. It says "First, the wallet to be converted to multisig must be empty. It is best to use a brand-new walllet for the ...
2
votes
1
answer
414
views
How to access to monero rpc from https javascript
I wrote a small javascript to test digest authentication on monerod and monero-wallet-rpc.
When running on a http (no tls) website, authentication works, and I get my response.
Then trying the same ...
0
votes
1
answer
99
views
How can I automatically sell Monero? What about the balance locking?
I am a developer at a company that operates crypto-currency ATMs, and I passionately want to add Monero to our service. Until recently, there were legal and technical barriers that made this ...
0
votes
2
answers
576
views
monero-python "No module named 'sha3'"
I have followed these instructions for installing monero-python.
https://github.com/monero-ecosystem/monero-python#development
when i try to call the wallet class in my programs
from ....
1
vote
1
answer
167
views
Security concerning private keys on monerowallet rpc on hosted server if taking monero payments
My query is about the security - or lack thereof - of private view keys when they are placed on a server (web host) as part of a payment integration system to accept Monero payments from customers. As ...