metaplex-foundation / shank

Extracts IDL from Solana Rust contracts
https://docs.rs/crate/shank_macro/latest
116 stars 23 forks source link
blockchain metaplex nft rust solana

Shank Build+Test

Collection of shank crates used to annotate Rust programs in order to extract IDL via the included CLI tool. This IDL is used by solita in order to generate program SDKs.

shank-logo

Installation

For usage and installation see the shank-cli Readme.

Crates

Development

Fork the repo makes some changes and make sure that all is dandy by running cargo test. Then provide a pull request.

If you are a contributor with access to publish to crates.io do the below in order to publish a new version. NOTE that this only works from the master branch and should be performed after merging a PR into master.

cargo test && cargo release <major|minor|patch>

The above runs all tests and dry-runs the release process. You should verify closely what it is about to do and then re-run the release command as shown below.

cargo release <major|minor|patch> --execute

LICENSE

Apache-2.0