11 votes
Accepted

How are subaddresses and account addresses generated from master wallet keys?

how can I compute subaddress Sa(a,i) where a is the account index and i is the subaddress index within the account? You're right, it is not fully explained in either of those links. Take a look ...
knaccc's user avatar
  • 8,468
8 votes

Funds received from subwallet are not showing

Monero "looks ahead" 200 subaddress indices from the highest subaddress index that it observes it has received an incoming payment to. Therefore if you ever issue more than 200 subaddresses in a row ...
knaccc's user avatar
  • 8,468
7 votes
Accepted

Why were Monero Disposable addresses dropped?

Disposable addresses require the sender to use an unencrypted payment id specified by the receiver. This means that if funds are sent to a disposable address more than once, an observer can tell that ...
knaccc's user avatar
  • 8,468
7 votes
Accepted

How to make an integrated address based on a subaddress?

You don't. Subaddresses also solve the problem integrated addresses were designed for (allowing source identification in a single address). Since you can now generate a subaddress per source/client/...
user36303's user avatar
  • 34.9k
6 votes
Accepted

Is this a typo in Mastering Monero.pdf

Yes, it is a mistake. It should read: This subaddress public spend key is multiplied by the primary private view key to yield the subaddress public view key
knaccc's user avatar
  • 8,468
5 votes
Accepted

How is the "account" command used in the CLI?

Yes, you may use accounts to help managing subaddresses, but you don't have to. If you don't care which address receives coins as long as it goes to your wallet, just leave it. Accounts work like ...
emesik's user avatar
  • 620
5 votes
Accepted

Generate a integrated address using a subaddress

It was decided that there should not be such a thing as an integrated subaddress. Only your main Monero address can become an integrated address (this functionality is retained for backwards ...
knaccc's user avatar
  • 8,468
4 votes

How to determine number of used subaddresses after restoring from seed?

When restoring a wallet from the seed, the wallet automatically expands the internal subaddress table such that it can recognize incoming transfers to new subaddresses. If you type address all, the ...
stoffu's user avatar
  • 704
4 votes
Accepted

How do I create a subaddress with the cli wallet?

The new cli command is called address. address [ new <label text with white spaces allowed> | all | <index_min> [<index_max>] | label <index> <label text with white spaces ...
onefox's user avatar
  • 985
4 votes

How to identify sender when they send monero?

You could do that, if you want something way more cumbersome than giving a different address to everyone. Another, more secure way is to get the sender to generate a proof of sending a transaction (...
user36303's user avatar
  • 34.9k
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 ...
janowitz's user avatar
  • 2,681
4 votes
Accepted

Difference between subaddresses and integrated_addresses

Integrated addresses are just standard addresses but with an embedded payment ID. Anyone can decode the integrated address and determine the standard address it is associated with. However, when a ...
jtgrassie's user avatar
  • 19.1k
3 votes

Churning and subaddresses

Using a main address or subaddress, the result/act of churning is the same.
jtgrassie's user avatar
  • 19.1k
3 votes
Accepted

Multiple accounts in the same wallet

The multiple accounts feature is currently only available in monero-wallet-cli. The GUI does allow for a user to generate and subsequently use multiple subaddresses though (confined to the same ...
dEBRUYNE's user avatar
  • 15.2k
3 votes

When constructing a change output, does it have to be sent to the main public address?

It's possible to send change to any subaddress/account inside any wallet where you know the private view key and public spend key for that wallet. (If you were not sending to a subaddress destination, ...
knaccc's user avatar
  • 8,468
3 votes
Accepted

Anyway to pick which monero subaddresses one can use?

Subaddresses are deterministic. Your wallet will only search ahead 200 subaddresses at a time in order to check for incoming funds at those addresses. Therefore it would not be recommended to attempt ...
knaccc's user avatar
  • 8,468
3 votes

Question about incoming/outgoing merging of transaction identity

Accounts are groupings of subaddresses for presentation purposes. There is also the side effect that when you spend out of an account, any outputs received at any subaddresses within that account may ...
Ginger Ale's user avatar
  • 5,686
3 votes

Subadderess transaction. How to receive?

To my knowledge, none of the current pool software supports subaddresses. Your best bet is to reach out to the pool operators and give them your standard address so they can update the pools database.
jtgrassie's user avatar
  • 19.1k
3 votes
Accepted

Do sub-addresses and disposable addresses have their own private viewkeys and spendkeys?

No. Given an output pubkey P in a new transaction with its tx pubkey being R, you can recognize it as your incoming transfer by using your private viewkey a, looking for P - Hs(a*R)*G in your ...
kenshi84's user avatar
  • 2,475
3 votes
Accepted

Are sub addresses implemented yet?

Not implemented and integrated into master branch yet, see here: https://github.com/monero-project/monero/pull/2056
Mond's user avatar
  • 96
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 ...
jtgrassie's user avatar
  • 19.1k
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-...
danda's user avatar
  • 187
3 votes

Understanding Monero addresses in the wallet GUI

A wallet has a primary address (that starts with a 4) and can have any number of subaddresses (that start with an 8). Accounts are just an abstraction which allow subaddresses to be separated - you ...
jtgrassie's user avatar
  • 19.1k
2 votes
Accepted

How is m calculated when generating subaddresses

After digging through the code and asking some more on IRC, it looks like the salt is "SubAddr" https://github.com/kenshi84/monero/blob/53ad5a0f42174bca57e24485ef3d40e4b9cf5599/src/cryptonote_basic/...
cryptochangements's user avatar
2 votes

Transfering from multiple accounts?

According to the Subaddress documentation: Thus, a single transaction can - in principle - aggregate and spend outputs from multiple addresses (and by extension from multiple accounts). The CLI or ...
Elvis Isking's user avatar
2 votes
Accepted

Transfering from multiple accounts?

To my understanding, if not specified, account_index will default to 0, while subaddr_indices will allow the wallet to use outputs from specified sub-address indexes as inputs. If you specify multiple ...
el00ruobuob's user avatar
2 votes

If I received XMR in a sub-address, will my balance correctly reflect this transaction in a wallet that does not support sub-addresses?

No. The wallet needs to support sub-addresses so the balance can be calculated correctly. Consider the scenario below: You create a wallet in MyMonero and send 5 XMR. You restore this wallet in the ...
bitlamas's user avatar
  • 187
2 votes
Accepted

Transaction to sub-address missing in GUI wallet

Let's say you own a 4 XMR output that is stored in your wallet. When you send 3 XMR to Bob, you will spend that 4 XMR output, and you are creating a new 3 XMR output for Bob and a new 1 XMR change ...
knaccc's user avatar
  • 8,468
2 votes
Accepted

What are the different commands for `balance [detail]` in monero-wallet-cli

The command balance detail will show your balance for each address in your current account. The command account will show you the balance in each account. The command account switch N, where N is ...
jtgrassie's user avatar
  • 19.1k
2 votes
Accepted

Should I use sub-addresses more?

If wallet addresses are like bank account numbers, then subaddresses are like having lots of different bank account numbers for the same bank account. This means that if you want Alice and Bob to pay ...
knaccc's user avatar
  • 8,468

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