Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelsramko authored Aug 23, 2021
1 parent 71e4c85 commit 468f4d6
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,12 @@ You can find API documentation at [Github Pages](https://tatumio.github.io/tatum
## Installation

### Node.js
1. Install module:

`npm install @tatumio/tatum`

### Browser

1. Install module:

`npm install @tatumio/tatum`

### Node.JS & Browser support
Library is written in TypeScript with ES2017 as the target JS version. Library should work in all modern browsers with ES2017 support and Node.JS current LTS.
Library is written in TypeScript with ES2017 as the target JS version. Library should work in Node.JS current LTS.

## Testing

Expand Down Expand Up @@ -82,7 +76,7 @@ If you want to work with TRON locally, you need to enter API Key for [Trongrid](
```js
// In Node.js
const Tatum = require('@tatumio/tatum');
const btcWallet = Tatum.generateWallet(Tatum.Currency.BTC, true);
const btcWallet = await Tatum.generateWallet(Tatum.Currency.BTC, true);

console.log(btcWallet);
>
Expand All @@ -100,7 +94,7 @@ You can use `@tatumio/tatum` as follows:

```typescript
import { generateWallet, Currency } from '@tatumio/tatum';
const btcWallet = generateWallet(Currency.BTC, true);
const btcWallet = await generateWallet(Currency.BTC, true);
```

More examples are available here:
Expand Down

0 comments on commit 468f4d6

Please sign in to comment.