#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

#840 in Magic Beans

Download history 127/week @ 2024-07-27 5/week @ 2024-08-03 5/week @ 2024-09-21 21/week @ 2024-09-28 127/week @ 2024-10-26 120/week @ 2024-11-02 32/week @ 2024-11-09

279 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
~124K SLoC