An open API service indexing awesome lists of open source software.

https://github.com/foundry-rs/asdf-starknet-foundry

Starknet Foundry plugin for the asdf version manager
https://github.com/foundry-rs/asdf-starknet-foundry

Last synced: about 1 month ago
JSON representation

Starknet Foundry plugin for the asdf version manager

Awesome Lists containing this project

README

        

# asdf-starknet-foundry [![Build](https://github.com/foundry-rs/asdf-starknet-foundry/actions/workflows/build.yml/badge.svg)](https://github.com/foundry-rs/asdf-starknet-foundry/actions/workflows/build.yml) [![Lint](https://github.com/foundry-rs/asdf-starknet-foundry/actions/workflows/lint.yml/badge.svg)](https://github.com/foundry-rs/asdf-starknet-foundry/actions/workflows/lint.yml)

[Starknet Foundry] plugin for the [asdf] version manager created by [akhercha](https://github.com/akhercha).

## Install

This plugin needs `bash`, `curl`, `tar` and other generic POSIX utilities.
Everything should be included by default on your system.

```shell
asdf plugin add starknet-foundry
```

or

```shell
asdf plugin add starknet-foundry https://github.com/foundry-rs/asdf-starknet-foundry.git
```

## Use

Show all installable versions:

```shell
asdf list all starknet-foundry
```

Install latest version:

```shell
asdf install starknet-foundry latest
```

Install specific version:

```shell
asdf install starknet-foundry 0.8.2
```

Set a version globally (in your `~/.tool-versions` file):

```shell
asdf set --home starknet-foundry latest
```

Set a version locally:

```shell
asdf set starknet-foundry latest
```

Now snforge and sncast commands are available:

```shell
snforge --version
```

```shell
sncast --version
```

Check [asdf](https://github.com/asdf-vm/asdf) readme for more instructions on how to install & manage versions.

[asdf]: https://asdf-vm.com
[Starknet Foundry]: https://foundry-rs.github.io/starknet-foundry