Adding anchor_chain library as a dependency

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

cargo add anchor-chain

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

anchor-chain = "0.4.2"

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

Back to the crate overview.