Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
vrolland committed Dec 22, 2020
1 parent 4464989 commit 79ddceb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/currency/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@ npm install @requestnetwork/currency
## Usage

```javascript
import Utils from '@requestnetwork/currency';
import Currency from '@requestnetwork/currency';

// TODO
const decimals = Currency.getDecimalsForCurrency({
type: RequestLogicTypes.CURRENCY.ETH,
value: 'ETH',
};

console.log(decimals); // 18
```
## Contributing
Expand Down

0 comments on commit 79ddceb

Please sign in to comment.