Skip to content

Commit

Permalink
docs: Add idl build command documentation (#3335)
Browse files Browse the repository at this point in the history
  • Loading branch information
acheroncrypto authored Oct 27, 2024
1 parent fe4fcde commit 522b326
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/src/pages/docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,14 @@ It's recommended to use these commands to store an IDL on chain, at a determinis
address, as a function of nothing but the program's ID. This
allows us to generate clients for a program using nothing but the program ID.

### Idl Build

```shell
anchor idl build
```

Generates the IDL for the program using the compilation method.

### Idl Init

```shell
Expand Down

0 comments on commit 522b326

Please sign in to comment.