Skip to content

Commit b2bb100

Browse files
committed
Merge branch 'master' into pinocchio-for-noobies
2 parents 2d88d38 + 5d31a5c commit b2bb100

File tree

37 files changed

+52
-52
lines changed

37 files changed

+52
-52
lines changed

src/app/content/courses/anchor-for-dummies/anchor-accounts/en.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ The key difference here is that we're using `InterfaceAccounts` instead of `Acco
276276

277277
This approach is particularly useful when you want your program to be compatible with both token standards, as it eliminates the need to write separate logic for each program. The interface handles all the complexity of dealing with different account structures behind the scenes.
278278

279-
If you want to learn more about how to use `anchor-spl` you can follow the [SPL-Token Program with Anchor](/zh-CN/courses/spl-token-with-anchor) or [Token2022 Program with Anchor](/zh-CN/courses/token-2022-with-anchor) courses.
279+
If you want to learn more about how to use `anchor-spl` you can follow the [SPL-Token Program with Anchor](/en/courses/spl-token-with-anchor) or [Token2022 Program with Anchor](/en/courses/token-2022-with-anchor) courses.
280280

281281
<ArticleSection name="Additional Accounts Type" id="additional-accounts-type" level="h2" />
282282

src/app/content/courses/anchor-for-dummies/conclusion/en.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Throughout this course, you've gained essential knowledge about:
1717

1818
You're now ready to start building your first program with Anchor! The best way to solidify your knowledge is through hands-on practice. We encourage you to:
1919

20-
1. Head to the [Challenges section](/zh-CN/challenges)
20+
1. Head to the [Challenges section](/en/challenges)
2121
2. Start with the beginner-friendly exercises
2222
3. Build and test your first Anchor program
2323
4. Join our community to share your progress and get help

src/app/content/courses/anchor-for-dummies/testing-your-program/en.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Thorough testing prevents financial losses, builds user trust, and ensures your
1010

1111
TypeScript testing is the most common approach since you'll need TypeScript for your dApp client anyway. This lets you develop tests and client code simultaneously.
1212

13-
We covered client-side setup in detail [here](/zh-CN/courses/anchor-for-dummies/client-side-development).
13+
We covered client-side setup in detail [here](/en/courses/anchor-for-dummies/client-side-development).
1414

1515
> Every Anchor CLI project includes a test folder with a TypeScript file ready for testing.
1616
@@ -26,7 +26,7 @@ Run tests with:
2626
anchor test
2727
```
2828

29-
> Run on localnet by setting the cluster to localnet in your configuration. This spins up a local validator and adds 1,000 SOL to the provider wallet. If you need additional accounts with data inside of them, look at running a [Local Validator](/zh-CN/courses/anchor-for-dummies/testing-your-program#running-a-local-validator)
29+
> Run on localnet by setting the cluster to localnet in your configuration. This spins up a local validator and adds 1,000 SOL to the provider wallet. If you need additional accounts with data inside of them, look at running a [Local Validator](/en/courses/anchor-for-dummies/testing-your-program#running-a-local-validator)
3030
3131
<ArticleSection name="Mollusk Tests" id="mollusk-tests" level="h2" />
3232

@@ -38,7 +38,7 @@ Mollusk is a Rust testing framework built specifically for Solana programs. It e
3838
- Run tests faster than full integration tests
3939
- Mock specific blockchain conditions and edge cases
4040

41-
We covered Mollusk testing thoroughly [here](/zh-CN/courses/testing-with-mollusk).
41+
We covered Mollusk testing thoroughly [here](/en/courses/testing-with-mollusk).
4242

4343
Create a new Anchor program with Mollusk:
4444

@@ -64,9 +64,9 @@ LiteSVM is a lightweight testing framework that runs the Solana Virtual Machine
6464

6565
LiteSVM eliminates validator overhead by embedding the VM within your tests, delivering the speed needed for rapid development cycles without sacrificing testing accuracy.
6666

67-
We covered LiteSVM testing thoroughly [here](/zh-CN/courses/testing-with-litesvm).
67+
We covered LiteSVM testing thoroughly [here](/en/courses/testing-with-litesvm).
6868

69-
You can set up your Anchor provider and use the client-side setup we saw [previously](/zh-CN/courses/anchor-for-dummies/client-side-development) with the `anchor-litesvm` package.
69+
You can set up your Anchor provider and use the client-side setup we saw [previously](/en/courses/anchor-for-dummies/client-side-development) with the `anchor-litesvm` package.
7070

7171
Installe the `anchor-litesvm` package.
7272

@@ -157,4 +157,4 @@ import { Connection } from "@solana/web3.js";
157157
const connection = new Connection("http://localhost:8899", "confirmed");
158158
```
159159

160-
We covered Surfnet setup and usage thoroughly [here](/zh-CN/courses/testing-with-surfpool).
160+
We covered Surfnet setup and usage thoroughly [here](/en/courses/testing-with-surfpool).

src/app/content/courses/anchor-for-dummies/testing-your-program/zh-CN.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { ArticleSection } from "../../../../components/ArticleSection/ArticleSec
1010

1111
TypeScript 测试是最常见的方法,因为无论如何您都需要为 dApp 客户端使用 TypeScript。这使您可以同时开发测试和客户端代码。
1212

13-
我们在[这里](/en/courses/anchor-for-dummies/client-side-development)详细介绍了客户端设置。
13+
我们在[这里](/zh-CN/courses/anchor-for-dummies/client-side-development)详细介绍了客户端设置。
1414

1515
> 每个 Anchor CLI 项目都包含一个测试文件夹,其中有一个准备好测试的 TypeScript 文件。
1616
@@ -26,7 +26,7 @@ TypeScript 测试具有以下关键优势:
2626
anchor test
2727
```
2828

29-
> 通过在配置中将集群设置为 localnet 来在 localnet 上运行。这会启动一个本地验证器并向提供者钱包添加 1,000 SOL。如果您需要包含数据的额外账户,请查看运行[本地验证器](/en/courses/anchor-for-dummies/testing-your-program#running-a-local-validator)的相关内容。
29+
> 通过在配置中将集群设置为 localnet 来在 localnet 上运行。这会启动一个本地验证器并向提供者钱包添加 1,000 SOL。如果您需要包含数据的额外账户,请查看运行[本地验证器](/zh-CN/courses/anchor-for-dummies/testing-your-program#running-a-local-validator)的相关内容。
3030
3131
<ArticleSection name="Mollusk Tests" id="mollusk-tests" level="h2" />
3232

@@ -38,7 +38,7 @@ Mollusk 是一个专为 Solana 程序构建的 Rust 测试框架。它使您能
3838
- 比完整的集成测试运行更快的测试
3939
- 模拟特定的区块链条件和边界情况
4040

41-
我们在[这里](/en/courses/testing-with-mollusk)详细介绍了 Mollusk 测试。
41+
我们在[这里](/zh-CN/courses/testing-with-mollusk)详细介绍了 Mollusk 测试。
4242

4343
使用 Mollusk 创建一个新的 Anchor 程序:
4444

@@ -64,9 +64,9 @@ LiteSVM 是一个轻量级测试框架,可以直接在您的测试过程中运
6464

6565
LiteSVM 通过将虚拟机嵌入到您的测试中,消除了验证器的开销,在不牺牲测试准确性的情况下提供了快速开发周期所需的速度。
6666

67-
我们在[这里](/en/courses/testing-with-litesvm)全面介绍了 LiteSVM 测试。
67+
我们在[这里](/zh-CN/courses/testing-with-litesvm)全面介绍了 LiteSVM 测试。
6868

69-
您可以设置 Anchor 提供程序,并使用我们[之前](/en/courses/anchor-for-dummies/client-side-development)看到的客户端设置与 `anchor-litesvm` 包一起使用。
69+
您可以设置 Anchor 提供程序,并使用我们[之前](/zh-CN/courses/anchor-for-dummies/client-side-development)看到的客户端设置与 `anchor-litesvm` 包一起使用。
7070

7171
安装 `anchor-litesvm` 包。
7272

@@ -157,4 +157,4 @@ import { Connection } from "@solana/web3.js";
157157
const connection = new Connection("http://localhost:8899", "confirmed");
158158
```
159159

160-
我们在[这里](/en/courses/testing-with-surfpool)详细介绍了 Surfnet 的设置和使用。
160+
我们在[这里](/zh-CN/courses/testing-with-surfpool)详细介绍了 Surfnet 的设置和使用。

src/app/content/courses/create-your-sdk-with-codama/codama-with-anchor/en.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ This gives you a fully functional Codama IDL that's ready for client generation.
2222

2323
Since the conversion process focuses on structural translation, you'll often want to add developer-friendly features like custom naming conventions, additional type information, or specialized client methods. Codama's visitor system makes these enhancements straightforward and powerful.
2424

25-
You can learn more on how to customize and enhance your converted IDL using visitors in the [Updating Codama IDL](/zh-CN/courses/create-your-sdk-with-codama/updating-codama-idl) lesson.
25+
You can learn more on how to customize and enhance your converted IDL using visitors in the [Updating Codama IDL](/en/courses/create-your-sdk-with-codama/updating-codama-idl) lesson.

src/app/content/courses/create-your-sdk-with-codama/codama-with-anchor/zh-CN.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ const codama = createFromRoot(rootNodeFromAnchor(anchorIdl));
2222

2323
由于转换过程专注于结构翻译,您通常会希望添加一些对开发者友好的功能,例如自定义命名约定、额外的类型信息或专用的客户端方法。Codama 的访问器系统使这些增强功能变得简单而强大。
2424

25-
您可以在 [更新 Codama IDL](/en/courses/create-your-sdk-with-codama/updating-codama-idl) 课程中了解更多关于如何使用访问器自定义和增强转换后的 IDL 的信息。
25+
您可以在 [更新 Codama IDL](/zh-CN/courses/create-your-sdk-with-codama/updating-codama-idl) 课程中了解更多关于如何使用访问器自定义和增强转换后的 IDL 的信息。

src/app/content/courses/create-your-sdk-with-codama/conclusion/en.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Throughout this course, you've gained essential knowledge about:
1616

1717
You're now ready to start building your first SDK with Codama! The best way to solidify your knowledge is through hands-on practice. We encourage you to:
1818

19-
1. Head to the [Challenges section](/zh-CN/challenges)
19+
1. Head to the [Challenges section](/en/challenges)
2020
2. Create an SDK for one of the program
2121
3. Use the SDK to build some test for your program
2222
4. Join our community to share your progress and get help

src/app/content/courses/create-your-sdk-with-codama/conclusion/zh-CN.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { AnchorDiscriminatorCalculator } from "../../../../components/AnchorDisc
1616

1717
您现在已经准备好开始使用 Codama 构建您的第一个 SDK!巩固知识的最佳方式是通过实践操作。我们鼓励您:
1818

19-
1. 前往[挑战部分](/en/challenges)
19+
1. 前往[挑战部分](/zh-CN/challenges)
2020
2. 为其中一个程序创建一个 SDK
2121
3. 使用 SDK 为您的程序构建一些测试
2222
4. 加入我们的社区,分享您的进展并获得帮助

src/app/content/courses/instruction-introspection/conclusion/en.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ With instruction introspection, you have the power to:
2929
You're now ready to start building powerful instruction introspection systems on Solana! Here are some recommended next steps:
3030

3131
1. Experiment with implementing instruction introspection in your own programs
32-
2. Explore the [Challenges section](/zh-CN/challenges) for hands-on exercises
32+
2. Explore the [Challenges section](/en/challenges) for hands-on exercises
3333
3. Consider how you can use instruction introspection to improve your application's security and composability
3434
4. Join our community to share your implementations and get help
3535

src/app/content/courses/introduction-to-assembly/conclusion/en.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Throughout this course, you've gained essential knowledge about:
1717

1818
You're now ready to start writing and optimizing your own sBPF programs! To continue your journey:
1919

20-
1. Head to the [Challenges section](/zh-CN/challenges)
20+
1. Head to the [Challenges section](/en/challenges)
2121
2. Start with the beginner-friendly exercises
2222
3. Build and test your first Assembly program
2323
4. Join our community to share your progress and get help

0 commit comments

Comments
 (0)