Skip to content

Commit

Permalink
Add usage example.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrizagidulin committed Jun 11, 2024
1 parent e33fbf4 commit 1e253c3
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1e253c3

Please sign in to comment.