diff --git a/docs/Solana-Co-Learn/module1/local_program_development/native_program_hello.md b/docs/Solana-Co-Learn/module1/local_program_development/native_program_hello.md index 4ca90a2a1..a1d60a126 100644 --- a/docs/Solana-Co-Learn/module1/local_program_development/native_program_hello.md +++ b/docs/Solana-Co-Learn/module1/local_program_development/native_program_hello.md @@ -93,7 +93,7 @@ solana-test-validator cargo build-sbf ``` -现在让我们部署我们的程序。部署从`cargo build-sbf`命令输出的在`target/deploy/*.so`。 +现在让我们部署我们的程序。部署从`cargo build-sbf`命令的输出`target/deploy/*.so`文件。 ```bash ls --tree target/ --depth 2 @@ -122,6 +122,8 @@ ls --tree target/ --depth 2 └──  release ``` +这里的`Path` 是上面的`target/deploy/*.so`文件的路径。运行`solana program deploy`命令来部署你的程序。 + ```bash solana program deploy ```