Decision Workspace
contract-extrinsics vs ink_prelude vs ink_env
Side-by-side comparison of Rust crates
63
contract-extrinsics
stablev5.0.3
Library defining extrinsics for smart contracts on polkadot-sdk
70
ink_prelude
growingv5.1.1
[ink!] Common API for no_std and std to access alloc crate types.
70
ink_env
growingv5.1.1
[ink!] Low-level interface for interacting with the smart contract executor.
Core Metrics
| contract-extrinsics | ink_prelude | ink_env | |
|---|---|---|---|
| Health Score | 63 | 70 | 70 |
| Total Downloads | 84.0K | 602.6K | 571.5K |
| 30d Downloads | 798 | 8.6K | 8.3K |
| Dependents | 60 | 258 | 389 |
| Releases | 23 | 39 | 39 |
| Last Updated | 165d ago | 242d ago | 242d ago |
| Age | 2y 11m | 6y 3m | 6y 3m |
Health Breakdown
contract-extrinsics
Maintenance
12
Quality
17
Community
13
Popularity
6
Documentation
15
ink_prelude
Maintenance
11
Quality
21
Community
18
Popularity
7
Documentation
13
ink_env
Maintenance
11
Quality
19
Community
18
Popularity
7
Documentation
15
Technical Details
| contract-extrinsics | ink_prelude | ink_env | |
|---|---|---|---|
| Version | 5.0.3 | 5.1.1 | 5.1.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | Apache-2.0 | Apache-2.0 | Apache-2.0 |
| Dependencies | 32 | 1 | 23 |
| Crate Size | 56KB | 11KB | 58KB |
| Features | 2 | 2 | 5 |
| Yanked % | 4.3% | 2.6% | 2.6% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.70 | — | 1.68 |
| Owners | 5 (team) | 3 (team) | 3 (team) |
Links
Quick Verdict
- •ink_prelude leads with a health score of 70/100, but none of the options score above 80.
- •ink_env is depended on by 389 crates — strongest ecosystem trust.