Last updated
Last updated
First, we need to download the code from .
Run the following to download the correct tag and extract it. ls
should show you the folder is present once it's unpacked. You can also use git
instead of wget
if you prefer.
Unlike before, where we compiled just the one contract, we'll compile all of them, since we may want to experiment with others. Run this at the root of the cosmwasm-plus
folder:
When compiling is complete (it will take a while) cd
into the artifacts
directory. ls
should show you binaries for each of the contracts have been created. The one we care about is cw1_subkeys.wasm
.
To store this on-chain, we use a similar command to last time:
Also like last time, look in the JSON output for the code_id
value. If you would prefer to capture this as a shell variable, for the previous step you can instead do: