diff --git a/docs/chain/01-build/01-Develop-Get-Started.mdx b/docs/chain/01-build/01-Develop-Get-Started.mdx index 4a4cfc71eca..77016f1bde4 100644 --- a/docs/chain/01-build/01-Develop-Get-Started.mdx +++ b/docs/chain/01-build/01-Develop-Get-Started.mdx @@ -38,7 +38,7 @@ The following speed run is designed to give you a quick overview of usage and de ```typescript // Import Push Chain SDK -import { PushChain, CONSTANTS } from '@pushprotocol/push-chain'; +import { PushChain, CONSTANTS } from '@pushchain/devnet'; // Import utility functions from viem import { hexToBytes } from 'viem'; @@ -105,7 +105,7 @@ for (const blocks of transactions.blocks) { ```zsh # Install Libraries -npm install @pushprotocol/push-chain viem +npm install @pushchain/devnet viem ``` diff --git a/docs/chain/01-build/03-Develop-Initialize-SDK.mdx b/docs/chain/01-build/03-Develop-Initialize-SDK.mdx index 011b8784108..613fc5745a5 100644 --- a/docs/chain/01-build/03-Develop-Initialize-SDK.mdx +++ b/docs/chain/01-build/03-Develop-Initialize-SDK.mdx @@ -26,7 +26,7 @@ import Details from '@theme/Details'; ```typescript // Import required modules -import { PushChain, CONSTANTS } from '@pushprotocol/push-chain'; +import { PushChain, CONSTANTS } from '@pushchain/devnet'; import { hexToBytes } from 'viem'; import { generatePrivateKey, privateKeyToAccount } from 'viem/accounts'; @@ -55,7 +55,7 @@ const pushChain = await PushChain.initialize(universalSigner); ```typescript // Import required modules -import { PushChain, CONSTANTS } from '@pushprotocol/push-chain'; +import { PushChain, CONSTANTS } from '@pushchain/devnet'; import { hexToBytes } from 'viem'; import { generatePrivateKey, privateKeyToAccount } from 'viem/accounts'; @@ -84,7 +84,7 @@ const pushChain = await PushChain.initialize(universalSigner); ```typescript // Import required modules -import { PushChain, CONSTANTS } from '@pushprotocol/push-chain'; +import { PushChain, CONSTANTS } from '@pushchain/devnet'; import { hexToBytes } from 'viem'; import { generatePrivateKey, privateKeyToAccount } from 'viem/accounts'; diff --git a/docs/chain/01-build/08-JSON-RPC-Functions.mdx b/docs/chain/01-build/08-JSON-RPC-Functions.mdx index 63514ae0846..727e6050542 100644 --- a/docs/chain/01-build/08-JSON-RPC-Functions.mdx +++ b/docs/chain/01-build/08-JSON-RPC-Functions.mdx @@ -223,15 +223,6 @@ Returns transactions for a specific category, ordered by time Fetches one single transaction by key ```typescript - /* Request -1 string, wallet in caip10 -ex: eip155:1:0xAA - -2 string, category -(NOTIF is the only valid value as of now) - -3 string, key - defines the uniq transaction key -*/ "params": [ "eip155:1:0xAA", "NOTIF", "0x1234"] // Result diff --git a/docs/chain/02-Quickstart-Push-Chain.mdx b/docs/chain/02-Quickstart-Push-Chain.mdx index 0f070a91697..1ebdb9aef69 100644 --- a/docs/chain/02-Quickstart-Push-Chain.mdx +++ b/docs/chain/02-Quickstart-Push-Chain.mdx @@ -25,21 +25,21 @@ import TabItem from '@theme/TabItem'; ```bash -npm install @pushprotocol/push-chain viem +npm install @pushchain/devnet viem ``` ```bash -npm install @pushprotocol/push-chain viem +npm install @pushchain/devnet viem ``` ```bash -npm install @pushprotocol/push-chain viem +npm install @pushchain/devnet viem ``` @@ -54,7 +54,7 @@ npm install @pushprotocol/push-chain viem ```typescript // Import Push Chain SDK for blockchain interactions -import { PushChain, CONSTANTS } from '@pushprotocol/push-chain'; +import { PushChain, CONSTANTS } from '@pushchain/devnet'; // Import utility functions from viem import { hexToBytes } from 'viem'; @@ -67,7 +67,7 @@ import { privateKeyToAccount, generatePrivateKey } from 'viem/accounts'; ```typescript // Import Push Chain SDK for blockchain interactions -import { PushChain, CONSTANTS } from '@pushprotocol/push-chain'; +import { PushChain, CONSTANTS } from '@pushchain/devnet'; // Import utility functions from viem import { hexToBytes } from 'viem'; @@ -80,7 +80,7 @@ import { privateKeyToAccount, generatePrivateKey } from 'viem/accounts'; ```typescript // Import Push Chain SDK for blockchain interactions -import { PushChain, CONSTANTS } from '@pushprotocol/push-chain'; +import { PushChain, CONSTANTS } from '@pushchain/devnet'; // Import utility functions from viem import { hexToBytes } from 'viem'; diff --git a/docs/chain/02-tutorials/01-Build-cross-chain-email.mdx b/docs/chain/02-tutorials/01-Build-cross-chain-email.mdx index bb7c0138b90..ab35bc376d6 100644 --- a/docs/chain/02-tutorials/01-Build-cross-chain-email.mdx +++ b/docs/chain/02-tutorials/01-Build-cross-chain-email.mdx @@ -28,19 +28,19 @@ We'll cover: To get started, install the required dependencies: ```shell -npm install @pushprotocol/push-chain viem +npm install @pushchain/devnet viem ``` **Why These Libraries?** -- `@pushprotocol/push-chain`: Core SDK for interacting with Push Chain. +- `@pushchain/devnet`: Core SDK for interacting with Push Chain. - `viem`: Utilities for Ethereum key management and signing. Import installed dependencies: ```typescript // Import Push Chain SDK -import { PushChain, CONSTANTS } from '@pushprotocol/push-chain'; +import { PushChain, CONSTANTS } from '@pushchain/devnet'; // Import utility functions from viem import { hexToBytes } from 'viem'; @@ -122,7 +122,7 @@ for (const blocks of transactions.blocks) { ## Complete Example Code ```typescript -import { PushChain, CONSTANTS } from '@pushprotocol/push-chain'; +import { PushChain, CONSTANTS } from '@pushchain/devnet'; import { hexToBytes } from 'viem'; import { privateKeyToAccount, generatePrivateKey } from 'viem/accounts'; diff --git a/docs/chain/02-tutorials/02-Build-cross-chain-chat.mdx b/docs/chain/02-tutorials/02-Build-cross-chain-chat.mdx index fa607038615..255d1cbf32c 100644 --- a/docs/chain/02-tutorials/02-Build-cross-chain-chat.mdx +++ b/docs/chain/02-tutorials/02-Build-cross-chain-chat.mdx @@ -25,19 +25,19 @@ A chat interface is often more dynamic than an email-based approach. While email You’ll need to install (or already have) the following libraries in your project: ```bash -npm install @pushprotocol/push-chain viem +npm install @pushchain/devnet viem ``` **What’s Included?** -- `@pushprotocol/push-chain`: Gives you the methods for initializing, signing, and sending transactions over Push Chain. +- `@pushchain/devnet`: Gives you the methods for initializing, signing, and sending transactions over Push Chain. - `viem`: Helps manage private keys and produce signatures on Ethereum. Import installed dependencies: ```typescript // Import Push Chain SDK -import { PushChain, CONSTANTS } from '@pushprotocol/push-chain'; +import { PushChain, CONSTANTS } from '@pushchain/devnet'; // Import utility functions from viem import { hexToBytes } from 'viem'; diff --git a/src/config/DocsHubList.ts b/src/config/DocsHubList.ts index f76beff942a..32806655212 100644 --- a/src/config/DocsHubList.ts +++ b/src/config/DocsHubList.ts @@ -24,7 +24,7 @@ export const QuickstartItems: IQuickstartItem[] = [ { title: 'Push Chain Quickstart', codeblock: `// Import Push Chain SDK -import { PushChain, CONSTANTS, createUniversalAccount, createUniversalSigner } from '@pushprotocol/push-chain'; +import { PushChain, CONSTANTS, createUniversalAccount, createUniversalSigner } from '@pushchain/devnet'; // Import utility functions from viem import { hexToBytes } from 'viem';