mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-10-17 15:21:30 +02:00
begin implementation of MoneroWallet.h/.cpp
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
void MoneroWallet::getMnemonic(epee::wipeable_string& mnemonic) const {
|
||||
throw runtime_error("Not implemented");
|
||||
}
|
||||
|
||||
@@ -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:
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user