From 1e253c344cf06cc8521f7e64dea14e12207ba076 Mon Sep 17 00:00:00 2001 From: Dmitri Zagidulin Date: Tue, 11 Jun 2024 15:45:13 -0400 Subject: [PATCH] Add usage example. --- README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8dbfef4..ef3029d 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,30 @@ npm install ## Usage -TBD +Export an empty wallet. + +```ts +export() // no wallet passed in, generates an empty Universal Wallet Backup TAR file +``` + +... + +``` +$ tar -vtf wallet-export-2024-01-01.tar + +drwxrwxr-x 0 0 4.0K Jun 11 15:38 app/ +drwxrwxr-x 0 0 4.0K Jun 11 15:38 keys/ +-rw-rw-r-- 0 0 1K Jun 11 15:38 manifest.yaml + +$ cat manifest.yaml +--- +ubc-version: 0.1 +meta: + created: 2024-01-01 + createdBy: + client: + url: https://github.com/interop-alliance/wallet-export-ts +``` ## Contribute