Skip to content

Commit ee833c0

Browse files
refactor: replace @hashgraph/sdk with @hiero-ledger/sdk across project (#630)
Signed-off-by: Mario Francia <mariofranciarius@gmail.com> Co-authored-by: Tyler McDonald <tyler@hgraph.io>
1 parent e500bef commit ee833c0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+415
-211
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ For more information see:
4242
- [Ethereum JSON-RPC Specification ](https://ethereum.github.io/execution-apis/api-documentation/)
4343
- [Hedera JSON-RPC relay](https://docs.hedera.com/hedera/core-concepts/smart-contracts/json-rpc-relay)
4444
- [Hedera Native JSON-RPC spec for WalletConnect](https://docs.reown.com/advanced/multichain/rpc-reference/hedera-rpc)
45-
- [Hedera Javascript SDK](https://www.npmjs.com/package/@hashgraph/sdk)
45+
- [Hedera Javascript SDK](https://www.npmjs.com/package/@hiero-ledger/sdk)
4646
- [Reown Docs](https://docs.reown.com/overview)
4747
- [WalletConnect Network](https://walletconnect.network/)
4848

@@ -64,7 +64,7 @@ reviewing the [Reown docs](https://docs.reown.com/overview).
6464
1. Add Hedera dependencies to your project:
6565

6666
```sh
67-
npm install @hashgraph/hedera-wallet-connect @hashgraph/sdk @walletconnect/modal
67+
npm install @hashgraph/hedera-wallet-connect @hiero-ledger/sdk @walletconnect/modal
6868
```
6969

7070
2. Initialize dApp Connector
@@ -76,7 +76,7 @@ import {
7676
DAppConnector,
7777
HederaChainId,
7878
} from '@hashgraph/hedera-wallet-connect'
79-
import { LedgerId } from '@hashgraph/sdk'
79+
import { LedgerId } from '@hiero-ledger/sdk'
8080

8181
const metadata = {
8282
name: 'Hedera Integration using Hedera DAppConnector - v1 approach',
@@ -121,7 +121,7 @@ await dAppConnector.openModal()
121121
2. Add Hedera dependencies to your project:
122122

123123
```sh
124-
npm install @hashgraph/hedera-wallet-connect @hashgraph/sdk @walletconnect/universal-provider
124+
npm install @hashgraph/hedera-wallet-connect @hiero-ledger/sdk @walletconnect/universal-provider
125125
```
126126

127127
3. Update `createAppKit` with adapters and a universal provider for Hedera. Note the
@@ -232,7 +232,7 @@ This example demonstrates a common pattern where a user signs a transaction in t
232232

233233
```typescript
234234
import { DAppConnector, HederaJsonRpcMethod } from '@hashgraph/hedera-wallet-connect'
235-
import { TransferTransaction, Hbar, AccountId } from '@hashgraph/sdk'
235+
import { TransferTransaction, Hbar, AccountId } from '@hiero-ledger/sdk'
236236

237237
// Initialize your DAppConnector (see Getting Started section)
238238
const dAppConnector = new DAppConnector(/* ... */)
@@ -268,7 +268,7 @@ console.log('Transaction executed:', result.transactionId)
268268
On your backend, use the `addSignatureToTransaction` utility to add your server's signature:
269269

270270
```typescript
271-
import { Transaction, PrivateKey, Client } from '@hashgraph/sdk'
271+
import { Transaction, PrivateKey, Client } from '@hiero-ledger/sdk'
272272
import { addSignatureToTransaction } from '@hashgraph/hedera-wallet-connect'
273273

274274
// Backend API endpoint

0 commit comments

Comments
 (0)