@altiuslabs/tx-sdk 0.1.3 → 0.1.5

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 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 @altius/tx-sdk
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 '@altius/tx-sdk';
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 '@altius/tx-sdk';
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')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altiuslabs/tx-sdk",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "SDK for signing and sending Altius USD multi-token transactions",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/constants.js CHANGED
@@ -36,11 +36,6 @@ export const FEE_TOKEN_FACTORY_ADDRESS = '0xa17000000000000000000000000000000000
36
36
  */
37
37
  export const FEE_MANAGER_ADDRESS = '0xFE0000000000000000000000000000000000000001';
38
38
 
39
- /**
40
- * Alternative fee token for testing (index 2)
41
- */
42
- export const ALT_FEE_TOKEN_ADDRESS = '0xa170000000000000000000000000000000000002';
43
-
44
39
  /**
45
40
  * Fee token prefix (10 bytes) for validation
46
41
  */
@@ -55,7 +50,6 @@ export const ZERO_ADDRESS = '0x0000000000000000000000000000000000000000';
55
50
  export const VALID_ADDRESSES = {
56
51
  USDA: USDA_ADDRESS,
57
52
  FACTORY: FEE_TOKEN_FACTORY_ADDRESS,
58
- ALT_TOKEN: ALT_FEE_TOKEN_ADDRESS,
59
53
  };
60
54
 
61
55
  // Invalid addresses for testing