@asichain/asi-wallet-sdk 0.1.0 → 0.1.1
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
|
@@ -62,7 +62,7 @@ npm install asi-wallet-sdk
|
|
|
62
62
|
### Create a New Wallet
|
|
63
63
|
|
|
64
64
|
```typescript
|
|
65
|
-
import { WalletsService, MnemonicService } from 'asi-wallet-sdk';
|
|
65
|
+
import { WalletsService, MnemonicService } from '@asichain/asi-wallet-sdk';
|
|
66
66
|
|
|
67
67
|
// Generate a new wallet with random keys
|
|
68
68
|
const wallet = WalletsService.createWallet();
|
|
@@ -80,7 +80,7 @@ See [WalletsService](docs/SERVICES.md) and [MnemonicService](docs/SERVICES.md) f
|
|
|
80
80
|
### Manage Wallets with Vault
|
|
81
81
|
|
|
82
82
|
```typescript
|
|
83
|
-
import { Vault, Wallet } from 'asi-wallet-sdk';
|
|
83
|
+
import { Vault, Wallet } from '@asichain/asi-wallet-sdk';
|
|
84
84
|
|
|
85
85
|
// Create vault and add wallet
|
|
86
86
|
const vault = new Vault();
|
|
@@ -99,7 +99,7 @@ See [Vault](docs/DOMAINS.md) and [Wallet](docs/DOMAINS.md) for full API referenc
|
|
|
99
99
|
### Check Balance and Transfer
|
|
100
100
|
|
|
101
101
|
```typescript
|
|
102
|
-
import { AssetsService, BlockchainGateway } from 'asi-wallet-sdk';
|
|
102
|
+
import { AssetsService, BlockchainGateway } from '@asichain/asi-wallet-sdk';
|
|
103
103
|
|
|
104
104
|
BlockchainGateway.init({
|
|
105
105
|
validator: { baseUrl: 'http://validator-node:40403' },
|
package/package.json
CHANGED