diff --git a/README.md b/README.md index 7920dec..7a85b32 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This utility creates [Metamask Snaps](https://metamask.io/snaps/) for Sovereign - [Git](https://git-scm.com/) - [Rust](https://www.rust-lang.org/tools/install) -- Rust WASI target: `rustup target add wasm32-wasi` +- [Rust WASI](https://github.com/bytecodealliance/wasmtime/blob/183cb0f2f8b0298f0bc9fd1140aaef4a0fb0368c/docs/WASI-tutorial.md#from-rust) - [Yarn](https://yarnpkg.com/) - [binaryen](https://github.com/WebAssembly/binaryen) - [wabt](https://github.com/WebAssembly/wabt) @@ -15,7 +15,19 @@ This utility creates [Metamask Snaps](https://metamask.io/snaps/) for Sovereign ## Installation ```bash -cargo install --git https://github.com/Sovereign-Labs/sov-snap-generator --tag "v0.1.0" +cargo install --git https://github.com/Sovereign-Labs/sov-snap-generator --tag "v0.1.1" +``` + +Also, check if the `wasm32-wasi` target is installed: + +```bash +rustup target list --installed | grep wasm32-wasi +``` + +If the command above yields no output, proceed with the target installation: + +```bash +rustup target add wasm32-wasi ``` ## Usage diff --git a/src/interface.rs b/src/interface.rs index cebfd6d..926e8b2 100644 --- a/src/interface.rs +++ b/src/interface.rs @@ -283,7 +283,7 @@ impl Interface { rl, args, Some("Insert the branch of the snap template"), - Some("v0.1.1"), + Some("v0.1.2"), ) } };