I read pullable/PULLABLE.md at main · lwshang/pullable · GitHub
What I want to know is how to make an asset canister pullable.
I read pullable/PULLABLE.md at main · lwshang/pullable · GitHub
What I want to know is how to make an asset canister pullable.
Generally, that would be on us to do. If you want to do it anyways, you would have to rehost the wasm and modify it (e.g. using ic-wasm) to add the metadata sections as described in the doc you link.
I don’t think we will make asset canisters pullable. Asset canisters are not really suited to be pullable because they depend too much on the post_install asset upload. The pullable system is meant for canisters that can be installed with a single wasm package such as II (which also contains a frontend, but there it is baked into the wasm), the EVM rpc canister, or maybe token ledgers.
If you want to provide a snippet that people can easily import into dfx.json then I would suggest you make it a canister of type “asset” and add a custom build step that will download and unzip the frontend files into a folder.
I wanted to make the ii-integration canister in this repository pullable because it can be used in the same way in any project.