diff --git a/zk-compression-docs/CLAUDE.md b/zk-compression-docs/CLAUDE.md index b13edf6..f8dd4b3 100644 --- a/zk-compression-docs/CLAUDE.md +++ b/zk-compression-docs/CLAUDE.md @@ -285,4 +285,4 @@ References ├── Terminology (references/terminology.md) └── Security (references/security.md) └── audits: -``` \ No newline at end of file +``` diff --git a/zk-compression-docs/compressed-pdas/client-library/client-guide.md b/zk-compression-docs/compressed-pdas/client-library/client-guide.md index 6601a3a..d320a98 100644 --- a/zk-compression-docs/compressed-pdas/client-library/client-guide.md +++ b/zk-compression-docs/compressed-pdas/client-library/client-guide.md @@ -118,7 +118,7 @@ Start a start a single-node Solana cluster, an RPC node, and a prover node at po ```typescript const lightWasm: LightWasm = await WasmFactory.getInstance(); -const testRpc = await getTestRpc(lightWasm); +const testRpc = await TestRpc.create(lightWasm); ``` {% endtab %} @@ -720,12 +720,12 @@ Populate the `systemAccounts` section with Light System accounts. These accounts {% code overflow="wrap" %} ```typescript -const systemAccountConfig = new SystemAccountMetaConfig(programId); +const systemAccountConfig = SystemAccountMetaConfig.new(programId); packedAccounts.addSystemAccounts(systemAccountConfig); ``` {% endcode %} -1. Pass your program ID to `new SystemAccountMetaConfig(programId)` to configure system accounts +1. Pass your program ID to `SystemAccountMetaConfig.new(programId)` to configure system accounts 2. Call `addSystemAccounts(systemAccountConfig)` - the SDK populates `systemAccounts` with Light System accounts, including the CPI signer PDA derived from your program ID {% hint style="info" %}