stellar-aa-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
|
@@ -7,7 +7,7 @@ This package provides the TypeScript SDK for interacting with the Stellar Accoun
|
|
|
7
7
|
You can install the SDK using npm:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install
|
|
10
|
+
npm install stellar-aa-sdk
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Usage
|
|
@@ -53,7 +53,7 @@ Deploys a new `SmartWallet` contract and initializes it with the specified `owne
|
|
|
53
53
|
**Example:**
|
|
54
54
|
|
|
55
55
|
```typescript
|
|
56
|
-
import { WalletFactory, StellarSDK } from '
|
|
56
|
+
import { WalletFactory, StellarSDK } from 'stellar-aa-sdk';
|
|
57
57
|
|
|
58
58
|
const { Keypair, Networks } = StellarSDK;
|
|
59
59
|
|
|
@@ -147,7 +147,7 @@ These methods perform simulations and do not require transaction signing.
|
|
|
147
147
|
### Example Usage (Continued from Factory Deployment)
|
|
148
148
|
|
|
149
149
|
```typescript
|
|
150
|
-
import { SmartWallet, StellarSDK } from '
|
|
150
|
+
import { SmartWallet, StellarSDK } from 'stellar-aa-sdk';
|
|
151
151
|
|
|
152
152
|
// Assuming contractId and ownerKeypair are obtained from WalletFactory.createWallet()
|
|
153
153
|
const { contractId, ownerKeypair } = await deployNewWallet(); // Call the example from above
|
package/package.json
CHANGED