Is there a simple C++ program to generate a mnemonic seed, view/spend keys and a wallet address? The reason I am asking this is because I am working on an iPhone product and I require this to integrate Monero in Swift and Xcode. If you have a better solution please let me know.

  • 1
    Can't you just use the official C++ monero repo?
    – Maxithi
    Commented Jan 28, 2018 at 14:59
  • I am not good at C++ so I am not certain which ones I should use.
    – user5363
    Commented Jan 28, 2018 at 15:11
  • 2
    src/wallet/wallet2.cpp, one of the generate functions.
    – user36303
    Commented Jan 28, 2018 at 17:38

1 Answer 1


XMR is a bit clunky, but should get you rolling. Also look at http://moneroexamples.github.io/spendkey/.

Your Answer

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