@ssv-labs/ssv-sdk 0.0.2 → 0.0.3
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 +4 -4
- package/dist/main.js +540 -485
- package/dist/main.mjs +540 -485
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,13 +29,13 @@ The SDK consists of four main modules:
|
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
31
|
# Using npm
|
|
32
|
-
npm
|
|
32
|
+
npm i @ssv-labs/ssv-sdk
|
|
33
33
|
|
|
34
34
|
# Using yarn
|
|
35
|
-
yarn add ssv-
|
|
35
|
+
yarn add @ssv-labs/ssv-sdk
|
|
36
36
|
|
|
37
37
|
# Using pnpm
|
|
38
|
-
pnpm install ssv-
|
|
38
|
+
pnpm install @ssv-labs/ssv-sdk
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
## Quick Start
|
|
@@ -43,7 +43,7 @@ pnpm install ssv-sdk ssv-keys viem
|
|
|
43
43
|
### Initialize the SDK
|
|
44
44
|
|
|
45
45
|
```typescript
|
|
46
|
-
import { SSVSDK, chains } from 'ssv-sdk'
|
|
46
|
+
import { SSVSDK, chains } from '@ssv-labs/ssv-sdk'
|
|
47
47
|
import { createPublicClient, createWalletClient, http } from 'viem'
|
|
48
48
|
import { privateKeyToAccount } from 'viem/accounts'
|
|
49
49
|
|