2

Is there a way in the GUI or CLI to generate a large amount of integrated addresses?

I'd like to have a bunch of addresses on hand so I don't have to open my wallet just to generate one.

2 Answers 2

2

You probably should be using subaddresses instead of integrated addresses. You can have a view only wallet so that if your server is compromised, your funds cannot be stolen.

If you really want to generate an integrated address without a wallet see here on how to do so: Generate an integrated address using javascript in the browser?

3
  • Im fine using the wallets to create the integrated_addresses, I just would like to be able to make more than just 1 at a time.
    – WhichDr
    Commented May 15, 2020 at 6:08
  • The best way to create numerous addresses would be to write a python script using the monero-python package. Start the rpc: monero-wallet-rpc. Then run the script, that you have created.
    – t-900
    Commented May 16, 2020 at 1:34
  • A shell (e.g. bash) and the monero-wallet-cli is all that's needed. monero.stackexchange.com/a/12212/7493
    – jtgrassie
    Commented May 17, 2020 at 10:12
2

On *nix this is quite easy:

seq 5 | xargs -IN echo integrated_address N \
    | monero-wallet-cli --wallet-file MyWallet --password MyPass

Which would create 5 integrated addresses each with a payment ID (1 to 5).

No need for 3rd party libraries, javascript/python or browsers.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.