#admin #cosmwasm #factory #contract #own #dao #migrate

cw-admin-factory

A CosmWasm factory contract for instantiating a contract as its own admin

7 stable releases

new 2.6.0 Nov 8, 2024
2.5.0 Oct 31, 2024
2.4.2 Jul 22, 2024
2.3.0 Oct 18, 2023
2.2.0 Jul 9, 2023

#566 in Magic Beans

Download history 75/week @ 2024-07-15 308/week @ 2024-07-22 107/week @ 2024-07-29 5/week @ 2024-09-23 21/week @ 2024-09-30 141/week @ 2024-10-28

141 downloads per month
Used in 2 crates (via dao-testing)

BSD-3-Clause

30KB
668 lines

cw-admin-factory

cw-admin-factory on crates.io docs.rs

Serves as a factory that instantiates contracts and sets them as their own wasm admins.

Useful for allowing contracts (e.g. DAOs) to migrate themselves.

Example instantiation flow:

Dependencies

~5–7MB
~146K SLoC