diff --git a/src/wallet/MoneroWallet.cpp b/src/wallet/MoneroWallet.cpp index e69de29..264e616 100644 --- a/src/wallet/MoneroWallet.cpp +++ b/src/wallet/MoneroWallet.cpp @@ -0,0 +1,3 @@ +void MoneroWallet::getMnemonic(epee::wipeable_string& mnemonic) const { + throw runtime_error("Not implemented"); +} diff --git a/src/wallet/MoneroWallet.h b/src/wallet/MoneroWallet.h index e69de29..fed6d09 100644 --- a/src/wallet/MoneroWallet.h +++ b/src/wallet/MoneroWallet.h @@ -0,0 +1,40 @@ +using namespace std; + +/** + * Monero wallet interface. + */ + class MoneroWallet { + + /** + * Construct the wallet. TODO + */ + MoneroWallet() + + /** + * Deconstructs the wallet. + */ + ~MoneroWallet(); + + // --------------------------------- PUBLIC -------------------------------- + + public: + +// /** +// * Get the wallet's seed. +// * +// * @return the wallet's seed +// */ +// const string getSeed(); + + /** + * Get the wallet's mnemonic phrase derived from the seed. + * + * @param mnemonic is assigned the wallet's mnemonic phrase + */ + void getMnemonic(epee::wipeable_string& mnemonic) const; + + // --------------------------------- PRIVATE -------------------------------- + + private: + + };