Skip to content

Commit

Permalink
Update native_program_hello.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DaviRain-Su committed Aug 29, 2023
1 parent 84b6a8a commit 9e5a5ab
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -122,6 +122,8 @@ ls --tree target/ --depth 2
└──  release
```

这里的`Path` 是上面的`target/deploy/*.so`文件的路径。运行`solana program deploy`命令来部署你的程序。

```bash
solana program deploy <PATH>
```
Expand Down

0 comments on commit 9e5a5ab

Please sign in to comment.