Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update default snap template #5

Merged
merged 2 commits into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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