Skip to content

Commit 1e253c3

Browse files
committedJun 11, 2024·
Add usage example.
1 parent e33fbf4 commit 1e253c3

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed
 

‎README.md

+24-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,30 @@ npm install
4646

4747
## Usage
4848

49-
TBD
49+
Export an empty wallet.
50+
51+
```ts
52+
export() // no wallet passed in, generates an empty Universal Wallet Backup TAR file
53+
```
54+
55+
...
56+
57+
```
58+
$ tar -vtf wallet-export-2024-01-01.tar
59+
60+
drwxrwxr-x 0 0 4.0K Jun 11 15:38 app/
61+
drwxrwxr-x 0 0 4.0K Jun 11 15:38 keys/
62+
-rw-rw-r-- 0 0 1K Jun 11 15:38 manifest.yaml
63+
64+
$ cat manifest.yaml
65+
---
66+
ubc-version: 0.1
67+
meta:
68+
created: 2024-01-01
69+
createdBy:
70+
client:
71+
url: https://github.com/interop-alliance/wallet-export-ts
72+
```
5073

5174
## Contribute
5275

0 commit comments

Comments
 (0)
Please sign in to comment.