See: https://github.com/dylibso/chicory Only question is how to encode wasm, if it should be part of the resource or a separate resource (or provide option for both)