@hyr0-xyz/program 0.0.1 → 0.0.8

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 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,15 +1,15 @@
1
- # @hyro/program
1
+ # @hyr0-xyz/program
2
2
 
3
3
  TypeScript SDK for building dApps on Hyro Protocol. This SDK provides high-level APIs for interacting with Hyro Protocol's Vault and Transaction systems.
4
4
 
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install @hyro/program @solana/kit
8
+ npm install @hyr0-xyz/program @solana/kit
9
9
  # or
10
- yarn add @hyro/program @solana/kit
10
+ yarn add @hyr0-xyz/program @solana/kit
11
11
  # or
12
- pnpm add @hyro/program @solana/kit
12
+ pnpm add @hyr0-xyz/program @solana/kit
13
13
  ```
14
14
 
15
15
  ## Features
@@ -25,7 +25,7 @@ pnpm add @hyro/program @solana/kit
25
25
  ### Vault Operations
26
26
 
27
27
  ```typescript
28
- import { VaultSDK } from '@hyro/program';
28
+ import { VaultSDK } from '@hyr0-xyz/program';
29
29
  import { createSolanaRpc } from '@solana/kit';
30
30
 
31
31
  // Get RPC connection
@@ -46,7 +46,7 @@ const shareMintPda = await VaultSDK.getShareMintPda(vaultPda);
46
46
  ### Transaction Operations
47
47
 
48
48
  ```typescript
49
- import { TransactionSDK } from '@hyro/program';
49
+ import { TransactionSDK } from '@hyr0-xyz/program';
50
50
 
51
51
  // Get transaction PDA
52
52
  const transactionPda = await TransactionSDK.getTransactionPda(vaultPda, 1);
@@ -86,7 +86,7 @@ const executeTxIx = await TransactionSDK.buildExecuteTxInstruction({
86
86
  ### PDA Helpers
87
87
 
88
88
  ```typescript
89
- import { getVaultPda, getTransactionPda, getShareSignerPda } from '@hyro/program';
89
+ import { getVaultPda, getTransactionPda, getShareSignerPda } from '@hyr0-xyz/program';
90
90
 
91
91
  // Get vault and authority PDAs
92
92
  const [vault, authority] = await getVaultPda('my-seed');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyr0-xyz/program",
3
- "version": "0.0.1",
3
+ "version": "0.0.8",
4
4
  "description": "TypeScript SDK for building dApps on Hyr0 Protocol",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",