Handle restore from phrase

This commit is contained in:
Aditya Kulkarni
2019-10-24 11:52:10 -07:00
parent 87c19c8fa0
commit bd289466b5
5 changed files with 75 additions and 6 deletions

View File

@@ -6,7 +6,10 @@ extern "C" {
#endif
extern bool litelib_wallet_exists (const char* chain_name);
extern char * litelib_initialize_new (bool dangerous, const char* server);
extern char * litelib_initialize_new (bool dangerous, const char* server);
extern char * litelib_initialize_new_from_phrase
(bool dangerous, const char* server, const char* seed,
unsigned long long birthday);
extern char * litelib_initialize_existing (bool dangerous, const char* server);
extern char * litelib_execute (const char* s, const char* args);
extern void litelib_rust_free_string (char* s);