From 752adbb1a81564017ac151fd3783f1826c7f3619 Mon Sep 17 00:00:00 2001 From: Rahul Lashkari Date: Wed, 4 Jun 2025 22:27:20 +0530 Subject: [PATCH] docs: fixes and improvements in documentation --- docs/content/docs/basics/cpi.mdx | 4 ++-- docs/content/docs/installation.mdx | 6 +++--- docs/content/docs/updates/release-notes/0-31-0.mdx | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/content/docs/basics/cpi.mdx b/docs/content/docs/basics/cpi.mdx index 60e9bf5bd1..4d3d3b6569 100644 --- a/docs/content/docs/basics/cpi.mdx +++ b/docs/content/docs/basics/cpi.mdx @@ -6,7 +6,7 @@ description: --- Cross Program Invocations (CPI) refer to the process of one program invoking -instructions of another program, which enables the composibility of Solana +instructions of another program, which enables the composability of Solana programs. This section will cover the basics of implementing CPIs in an Anchor program, @@ -98,7 +98,7 @@ resulting in a successful SOL transfer. Cross Program Invocations (CPIs) allow one program to invoke instructions on another program. The process of implementing a CPI is the same as that of -creating a instruction where you must specify: +creating an instruction where you must specify: 1. The program ID of the program being called 2. The accounts required by the instruction diff --git a/docs/content/docs/installation.mdx b/docs/content/docs/installation.mdx index 5451edd03c..52ebdfc1f0 100644 --- a/docs/content/docs/installation.mdx +++ b/docs/content/docs/installation.mdx @@ -468,7 +468,7 @@ To verify that the installation was successful, check the Yarn version: yarn --version ``` -You should the following output: +You should see the following output: ``` 1.22.1 @@ -567,7 +567,7 @@ Keypair Path: /Users/test/.config/solana/id.json Commitment: confirmed ``` -The RPC URL and Websocket URL specific the Solana cluster the CLI will make +The RPC URL and Websocket URL specify the Solana cluster the CLI will make requests to. By default this will be mainnet-beta. You can update the Solana CLI cluster using the following commands: @@ -614,7 +614,7 @@ Generating a new keypair For added security, enter a BIP39 passphrase -NOTE! This passphrase improves security of the recovery seed phrae NOT the +NOTE! This passphrase improves security of the recovery seed phrase NOT the keypair file itself, which is stored as insecure plain text BIP39 Passphrase (empty for none): diff --git a/docs/content/docs/updates/release-notes/0-31-0.mdx b/docs/content/docs/updates/release-notes/0-31-0.mdx index 148ef98adf..8304684274 100644 --- a/docs/content/docs/updates/release-notes/0-31-0.mdx +++ b/docs/content/docs/updates/release-notes/0-31-0.mdx @@ -440,7 +440,7 @@ Building the IDL via the [`build_idl`](https://github.com/coral-xyz/anchor/blob/v0.31.0/idl/src/build.rs#L119) function made it impossible to extend its functionality e.g. add new parameters without a breaking change. To solve this problem, there is a new way to build -IDLs programatically: +IDLs programmatically: ```rs let idl = IdlBuilder::new().program_path(path).skip_lint(true).build()?;