@asichain/asi-wallet-sdk 0.1.0 → 0.1.2

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.
Files changed (2) hide show
  1. package/README.md +7 -6
  2. package/package.json +5 -1
package/README.md CHANGED
@@ -3,9 +3,10 @@
3
3
  # ASI Chain: Wallet SDK
4
4
 
5
5
  [![Status](https://img.shields.io/badge/Status-BETA-FFA500?style=for-the-badge)](https://github.com/asi-alliance/asi-chain-wallet-sdk)
6
- [![Version](https://img.shields.io/badge/Version-0.1.0-A8E6A3?style=for-the-badge)](https://github.com/asi-alliance/asi-chain-wallet-sdk/releases)
7
6
  [![License](https://img.shields.io/badge/License-Apache_2.0-green?style=for-the-badge)](LICENSE)
8
7
  [![Docs](https://img.shields.io/badge/Docs-Available-C4F0C1?style=for-the-badge)](https://docs.asichain.io)
8
+ </br>
9
+ ![npm](https://img.shields.io/npm/v/@asichain/asi-wallet-sdk?label=asi-wallet-sdk&color=blue)
9
10
 
10
11
  <h3>TypeScript SDK for wallet management and blockchain interaction on ASI Chain</h3>
11
12
 
@@ -52,7 +53,7 @@ ASI Chain Wallet SDK is a lightweight, modular TypeScript library designed to si
52
53
  ## Installation
53
54
 
54
55
  ```bash
55
- npm install asi-wallet-sdk
56
+ npm install @asichain/asi-wallet-sdk
56
57
  ```
57
58
 
58
59
  ---
@@ -62,7 +63,7 @@ npm install asi-wallet-sdk
62
63
  ### Create a New Wallet
63
64
 
64
65
  ```typescript
65
- import { WalletsService, MnemonicService } from 'asi-wallet-sdk';
66
+ import { WalletsService, MnemonicService } from '@asichain/asi-wallet-sdk';
66
67
 
67
68
  // Generate a new wallet with random keys
68
69
  const wallet = WalletsService.createWallet();
@@ -80,7 +81,7 @@ See [WalletsService](docs/SERVICES.md) and [MnemonicService](docs/SERVICES.md) f
80
81
  ### Manage Wallets with Vault
81
82
 
82
83
  ```typescript
83
- import { Vault, Wallet } from 'asi-wallet-sdk';
84
+ import { Vault, Wallet } from '@asichain/asi-wallet-sdk';
84
85
 
85
86
  // Create vault and add wallet
86
87
  const vault = new Vault();
@@ -99,7 +100,7 @@ See [Vault](docs/DOMAINS.md) and [Wallet](docs/DOMAINS.md) for full API referenc
99
100
  ### Check Balance and Transfer
100
101
 
101
102
  ```typescript
102
- import { AssetsService, BlockchainGateway } from 'asi-wallet-sdk';
103
+ import { AssetsService, BlockchainGateway } from '@asichain/asi-wallet-sdk';
103
104
 
104
105
  BlockchainGateway.init({
105
106
  validator: { baseUrl: 'http://validator-node:40403' },
@@ -188,7 +189,7 @@ See [AssetsService](docs/SERVICES.md) for full API reference. For amount convers
188
189
  - **Address Derivation**: keccak256 hash → blake2b checksum → Base58 encoding with [chain prefix](src/utils/constants)
189
190
  - **Encryption**: PBKDF2 (100,000 iterations) → AES-GCM via [CryptoService](docs/SERVICES.md)
190
191
  - **Mnemonic**: BIP-39 standard (12/24 words) via [MnemonicService](docs/SERVICES.md)
191
- - **Derivation Path**: BIP-44 (`m/44'/60'/0'/0/index`) via [KeyDerivationService](docs/SERVICES.md)
192
+ - **Derivation Path**: BIP-44 via [KeyDerivationService](docs/SERVICES.md)
192
193
 
193
194
  ---
194
195
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "0.1.2",
3
3
  "name": "@asichain/asi-wallet-sdk",
4
4
  "description": "ASI Wallet SDK",
5
5
  "license": "Apache-2.0",
@@ -8,6 +8,10 @@
8
8
  "module": "dist/index.esm.js",
9
9
  "types": "dist/index.d.ts",
10
10
  "sideEffects": false,
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/asi-alliance/asi-chain-wallet-sdk"
14
+ },
11
15
  "files": [
12
16
  "dist",
13
17
  "README.md"