#pallet #content #2412

no-std pallet-collective-content

Managed content

16 breaking releases

new 0.17.1 Mar 27, 2025
0.16.0 Sep 26, 2024
0.15.0 Jul 18, 2024
0.9.0 Mar 18, 2024
0.4.0 Nov 20, 2023

#11 in #2412

Download history 25583/week @ 2024-12-04 21943/week @ 2024-12-11 17607/week @ 2024-12-18 5842/week @ 2024-12-25 17748/week @ 2025-01-01 21881/week @ 2025-01-08 32177/week @ 2025-01-15 27462/week @ 2025-01-22 24566/week @ 2025-01-29 26476/week @ 2025-02-05 37995/week @ 2025-02-12 23397/week @ 2025-02-19 3742/week @ 2025-02-26 3296/week @ 2025-03-05 3157/week @ 2025-03-12 2190/week @ 2025-03-19

13,448 downloads per month
Used in 18 crates (3 directly)

Apache-2.0

27KB
396 lines

Release

Polkadot SDK Stable 2412


lib.rs:

Managed Collective Content Pallet

The pallet provides the functionality to store different types of content. This would typically be used by an on-chain collective, such as the Polkadot Alliance or Ambassador Program.

The pallet stores content as an [OpaqueCid], which should correspond to some off-chain hosting service, such as IPFS, and contain any type of data. Each type of content has its own origin from which it can be managed. The origins are configurable in the runtime. Storing content does not require a deposit, as it is expected to be managed by a trusted collective.

Content types:

Dependencies

~22–37MB
~627K SLoC