Skip to content

Commit

Permalink
fix: update default snap template (#5)
Browse files Browse the repository at this point in the history
* fix: update default snap template

* update readme tag version
  • Loading branch information
vlopes11 authored Nov 17, 2023
1 parent 193fa5b commit bc5dc40
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ impl Interface {
rl,
args,
Some("Insert the branch of the snap template"),
Some("v0.1.1"),
Some("v0.1.2"),
)
}
};
Expand Down

0 comments on commit bc5dc40

Please sign in to comment.