#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

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

#12 in #migrate

Download history 7/week @ 2024-10-02 151/week @ 2024-10-30 124/week @ 2024-11-06 6/week @ 2024-11-13 5/week @ 2024-11-20 8/week @ 2024-12-04 7/week @ 2024-12-11

644 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

~4–6MB
~125K SLoC