#blockchain #ink

no-std pendzl_contracts

Reusable implementations of contracts and traits for interaction with them

18 releases (1 stable)

1.0.2 Nov 5, 2024
1.0.1-v1calls Aug 5, 2024
0.2.4 Mar 26, 2024
0.2.4-v1calls2 Jun 3, 2024
0.1.0-alpha2 Jan 24, 2024

#36 in #ink

Download history 3/week @ 2025-09-11 18/week @ 2025-09-18 7/week @ 2025-09-25 3/week @ 2025-10-02 7/week @ 2025-10-16 9/week @ 2025-10-23

1,093 downloads per month
Used in 3 crates (via pendzl)

MIT and GPL-3.0-only

170KB
3.5K SLoC

Overview

traits contains definitions of traits(interfaces) for the popular contracts. Anyone can import the trait and use it to do cross-contract calls without knowing the implementation of the contract.

This folder contains the implementation of popular contracts. Anyone can re-use the implementation after importing the pendzl crate, enabling the desired feature(s) of the contract, and implementing all required traits.

Dependencies

~13–20MB
~380K SLoC