Hot answers tagged

4 votes
Accepted

How does one burn and provide a proof-of-burn in Monero?

There is a tradition in Monero that when you want to come up with a public key for which there is no known private key, you calculate that public key as H = hash_to_point(G), which in hex is ...
user avatar
  • 8,368
4 votes
Accepted

Does the coin support HD wallets, and if so, which derivation scheme?

Bitcoin's HD (hierarchical deterministic) wallets use subsequent addresses derived from your private key / seed to send your change to and improve privacy a bit. You can still follow the funds and ...
user avatar
  • 2,552
4 votes
Accepted

Generate a wallet file from a spend key in the command line using the CLI wallet in a "non-interactive" way for scripting purpose

You should use --generate-from-json for this. The input fields in the JSON file are: version: integer, should be 1 filename: string, path/filename for the newly created wallet ...
user avatar
  • 34.6k
3 votes

Pregenerate 1000 subaddresses from your monero private key?

I made an offline command-line tool, subaddress-derive-xmr, that derives any number of subaddresses from mnemonic, seed, or priv-view-key + pub-spend-key. Usage would look like: $ ./subaddress-...
user avatar
  • 187
3 votes

Pregenerate 1000 subaddresses from your monero private key?

Is there a way to pre-generate 1000 subaddresses from your monero private key? Generating subaddresses from a private view key explained in this answer and on the monerodocs site here. And then ...
user avatar
  • 17.3k
3 votes

How to generate a Monero wallet programatically?

In bash, just: monero-wallet-cli --create-address-file --password password123 --mnemonic-language English --generate-new-wallet ./new.wallet You can enumerate new.wallet with a variable. Just wait ...
user avatar
  • 464
3 votes

How to generate a Monero wallet programatically?

You have a couple of options. One option is to have a running wallet RPC: monero-wallet-rpc --wallet-dir . --rpc-bind-port 18085 --disable-rpc-login Which you can then call its create_wallet method ...
user avatar
  • 17.3k
3 votes
Accepted

Which two strings I need to get from tx_json, if I want to determine whether output is mine or not?

The full math you have to do is: D = P - Hs(8aR || i)G, where i is a varint representing the index of the output. You then check whether D matches your main public spend key or any of your subaddress ...
user avatar
  • 8,368
3 votes
Accepted

How to check a detached daemon without a wallet?

You just run commands like monerod status which connects to the detached process and runs the command (status in this example). You can also use the daemons RPC get_info. But, how can I check the ...
user avatar
  • 17.3k
3 votes
Accepted

Will I need to update wallet and miner after the next upcoming (March 2019) fork?

Yes, as we have done before for the other forks, you'll need to update daemon, wallet, and miner. As you can see here, the upcoming fork will bring to Monero a new PoW algorithm: the CNv4, ...
user avatar
  • 1,611
2 votes

How does address recovery work?

First off, the node does not do anything about addresses, the wallet does. The node never gets your secret keys. Next, the Monero wallet will always cache/calculate the next 200 addresses for the ...
user avatar
  • 34.6k
2 votes

How to open a Monero CLI wallet by specifying the wallet name?

Use the parameter: --wallet-file <file name here>. E.g. monero-wallet-cli --wallet-file MyWallet (assuming you have a wallet file named "MyWallet" in the current working directory)
user avatar
  • 17.3k
2 votes

What is the difference between simplewallet, wallet and wallet2?

What is the difference between simplewallet, wallet and wallet2? simplewallet.[cpp|h] is the source code for the command-line wallet monero-wallet-cli. wallet2.[cpp|h] is the source code for the ...
user avatar
  • 17.3k
2 votes

JS implementation of ge_fromfe_frombytes_vartime

According to the CryptoNote Whitepaper, the hash-to-point algorithm is based on this paper.
user avatar
  • 359
2 votes
Accepted

Monero coins locked after sending money

New outputs are locked for 10 blocks (unless the sender selects more), which is about 20 minutes on average. If all your monero is in a single output, then sending it will lock your entire balance for ...
user avatar
  • 34.6k
1 vote

Keys file can't restore - "couldn't open wallet: internal error: failed to deserialize keys buffer"

I renamed it to "monerowallet.keys" A wallet has two files. One without an extension (which has things likes settings, labels etc), and another file that is named the same but with the ...
user avatar
  • 17.3k
1 vote
Accepted

How to decrypt a wallet

crypto::rand<crypto::chacha_iv>(); Yes. In the wallet keys file, right at the start (ref). The chacha key used is a 32 byte hash (ref). See wallet2::load_keys_buf.
user avatar
  • 17.3k
1 vote

How do you store seed phrases for multiple wallets?

Paper wallets are great but then you run the risk of losing it all in a fire. Storing photocopies in more than one geographic location mitigates that risk significantly. An alternative digital ...
user avatar
  • 17.3k
1 vote
Accepted

Can you lose your mined XMR from a pool?

It clearly says this in the Terms and conditions page. "Accounts which are inactive for longer than 365 days may be deleted. Any remaining balance will be treated as a donation to the Pool." ...
user avatar
  • 26
1 vote

Wallet Balance Incorrectly Displays 0, missing Transaction Keys?

Downloading the chain is pointless. Restoring the wallet from seed will wipe the transaction keys. A double spend like this after a restore from seed/keys can be caused by an outgoing transaction ...
user avatar
  • 34.6k
1 vote

Does Monero still use chacha for wallet encryption?

The wallet cache uses chacha20 for cache encryption. The KDF used is still the original Cryptonight (one round by default, overridable with --kdf-rounds).
user avatar
  • 34.6k
1 vote

How do I get a testnet wallet in Monero GUI?

You can select Testnet as network parameter in the wizard (setup) of the GUI (under Advanced options). See this part of the Monero GUI guide and corresponding screenshot. https://github.com/monero-...
user avatar
  • 14.8k
1 vote

How to run Monero as a private chain or a similar mode?

The following page comprehensively documents how to run a private testnet: https://github.com/moneroexamples/private-testnet This allows you to run a private network of nodes (and wallets), which is ...
user avatar
  • 17.3k
1 vote

Is it a bad idea to use CpuLimit with Monero software?

It should be fine, unless the programs stay stopped for a long time, in which cases timeouts may occur. If you're local, timeouts with a single client is more than 3 minutes IIRC, so it should be just ...
user avatar
  • 34.6k
1 vote

Using monero-php, I am getting "Method not found" when calling open_wallet

The wallet RPC and daemon RPC are different. Refer to the projects documentation on how to run both wallet and daemon RPCs. The node you reference at node.xmr.to is a daemon RPC, not a wallet RPC, ...
user avatar
  • 17.3k
1 vote

Can't create new wallet via RPC

You have given a login for the daemon, but no password. monero-wallet-rpc is an unattended program, so does not prompt. You need to pass the password after the login, with a separating colon, like ...
user avatar
  • 34.6k
1 vote
Accepted

Pregenerate 1000 subaddresses from your monero private key?

During wallet generation, set "subaddress-lookahead" higher than default like previously mentioned, example 50:1000. Generate the wallet with the predetermined subaddress lookahead using the ...
user avatar
1 vote

Missing transaction. XMR sent to Monerujo wallet

Each Monero transaction contains multiple inputs/outputs. It is not expected that you own all of the outputs of the transaction; only those destined for you. The utility you used is reporting: ...
user avatar
  • 156
1 vote
Accepted

How is Poloniex keeping track of their user's Monero balances when they do not use any Payment ID's?

Last I was aware, Poloniex issues users with a Monero integrated address, which embeds a payment ID in the address. You can easily verify this by the address length - integrated addresses are 106 hex ...
user avatar
  • 17.3k
1 vote
Accepted

Connect to a LOKI remote node when using the CLI wallet

You can use the following format: ./loki-wallet-cli --daemon-host imaginary.stream
user avatar

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