Beispiel #1
0
        public void Import(WalletImportExportConfig importExportConfig)
        {
            (string config, string credentials) = GetConfigCredentialJson();
            string import = importExportConfig.ToJson();

            WalletAsync.ImportAsync(config, credentials, import).Wait();
        }
Beispiel #2
0
        public void Export(WalletImportExportConfig exportConfig)
        {
            if (null == _asyncHandle)
            {
                return;
            }

            string export = exportConfig.ToJson();

            _asyncHandle.ExportAsync(export);
        }