Skip to content

Commit

Permalink
Added new asset syntax to README.
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfe committed Mar 18, 2018
1 parent abdaf63 commit 11cc720
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ $ lumen pay 20 USD --from bob --to mary --with EUR --max 10
```bash
lumen pay 10 --from kelly --to mo*qubit.sh
lumen balance mo*qubit.sh

# Works for assets too
lumen balance bob USD:issuer*citibank.com
```
* Trade assets on the DEX and make path payments with automatic path finding
```bash
Expand Down Expand Up @@ -186,6 +189,9 @@ lumen balance mo
#### Work with credit assets

```bash
# Look up bob's USD balance (from specified issuer)
lumen balance bob USD:GAUYTZ24ATLEBIV63MXMPOPQO2T6NHI6TQYEXRTFYXWYZ3JOCVO6UYUM

# Create an alias for a new asset type. The asset code is derived from the alias (USD).
lumen asset set USD GAUYTZ24ATLEBIV63MXMPOPQO2T6NHI6TQYEXRTFYXWYZ3JOCVO6UYUM

Expand All @@ -199,6 +205,9 @@ lumen balance bob USD-chase
# Create a trustline for kelly to Citibank's USD, then pay her
lumen trust create kelly USD-citi
lumen pay 5 USD-citi --from mo --to kelly --memotext "here's five bucks"

# Use federated asset names
lumen pay 5 USD:issuer*chase.com --from mo --to kelly --memotext "here's five bucks"
```

#### Stream the ledger
Expand Down

0 comments on commit 11cc720

Please sign in to comment.