#smart-contracts #blockchain #brushfam #ink #wasm

no-std openbrush_contracts

Reusable implementations of contracts and traits for interaction with them

6 releases (stable)

4.0.0-beta Sep 15, 2023
3.2.0 Sep 15, 2023
2.2.0 Jul 23, 2022
2.1.0 Jun 23, 2022
1.8.0 May 27, 2022

#2 in #brushfam


Used in openbrush

MIT license

340KB
5.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 openbrush crate, enabling the desired feature(s) of the contract, and implementing all required traits.

Dependencies

~16MB
~281K SLoC