Adding solana_program library as a dependency

Run this command in a terminal, in your project's directory:

cargo add safecoin-program

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

safecoin-program = "1.14.17"

The solana_program library will be automatically available globally. Read the solana_program library documentation.

Back to the crate overview.