@altiuslabs/tx-sdk 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ A pure JavaScript SDK for signing and sending Altius USD multi-token transaction
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install @
|
|
8
|
+
npm install @altiuslabs/tx-sdk
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
@@ -13,7 +13,7 @@ npm install @altius/tx-sdk
|
|
|
13
13
|
### Quick Start
|
|
14
14
|
|
|
15
15
|
```javascript
|
|
16
|
-
import { TxClient, generate_private_key } from '@
|
|
16
|
+
import { TxClient, generate_private_key } from '@altiuslabs/tx-sdk';
|
|
17
17
|
import { USDA_ADDRESS } from '@altius/tx-sdk/constants';
|
|
18
18
|
|
|
19
19
|
// Generate a new wallet
|
|
@@ -30,7 +30,7 @@ console.log('Transaction hash:', txHash);
|
|
|
30
30
|
### Configuration
|
|
31
31
|
|
|
32
32
|
```javascript
|
|
33
|
-
import { TxClientBuilder, BASE_FEE_ATTO, DEFAULT_GAS_LIMIT } from '@
|
|
33
|
+
import { TxClientBuilder, BASE_FEE_ATTO, DEFAULT_GAS_LIMIT } from '@altiuslabs/tx-sdk';
|
|
34
34
|
|
|
35
35
|
const client = new TxClientBuilder(privateKey, 'https://rpc.altius.xyz')
|
|
36
36
|
.fee_token('0xa1700000000000000000000000000000000000001')
|