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 readme backend #242

Merged
merged 1 commit into from
Nov 13, 2024
Merged
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
78 changes: 39 additions & 39 deletions contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@

2. **Setup your environment**

- Scarb v2.6.5 : [here](https://docs.swmansion.com/scarb/download.html#install-via-asdf).
```bash
asdf install scarb 2.6.5
```
```bash
asdf global scarb 2.6.5
```
- Starknet Foundry v0.27.0: [here](https://foundry-rs.github.io/starknet-foundry/getting-started/installation.html).
```bash
asdf install starknet-foundry 0.27.0
```
```bash
asdf global starknet-foundry 0.27.0
```
**Setup your environment (Different option for macOS)**

- Option #1: Install Scarb and Starknet Foundry using asdf (Only macOS)
- Scarb v2.6.5 : [here](https://docs.swmansion.com/scarb/download.html#install-via-asdf).
```bash
asdf install scarb 2.6.5
```
```bash
asdf global scarb 2.6.5
```
- Starknet Foundry v0.27.0: [here](https://foundry-rs.github.io/starknet-foundry/getting-started/installation.html).
```bash
asdf install starknet-foundry 0.27.0
```
```bash
asdf global starknet-foundry 0.27.0
```
- Option #2: Install Scarb and Starknet Foundry using curl (Only macOS)
- Scarb v2.6.5 : [here](https://docs.swmansion.com/scarb/download.html#install-via-asdf).
```bash
curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | sh -s -- -v 2.6.5
Expand All @@ -38,7 +38,7 @@
```
It is recommended to restart the terminal.

**Setup your environment (Ubuntu)**
- Option #3: Install Scarb and Starknet Foundry (Only Ubuntu)
- Scarb v2.6.5
```bash
curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | sh -s -- -v 2.6.5
Expand All @@ -53,28 +53,28 @@
```
It is recommended to restart the terminal.

- Starknet Foundry v0.27.0: [here](https://foundry-rs.github.io/starknet-foundry/getting-started/installation.html).
```bash
curl -L https://raw.githubusercontent.com/foundry-rs/starknet-foundry/master/scripts/install.sh | sh -s -- -v 0.27.0
```
**Place it in the path (Option for macOS):**
```bash
echo 'export PATH="$HOME/.asdf/shims:$HOME/.asdf/bin:$PATH"' >> ~/.zshrc
```
```bash
echo 'export PATH="$HOME/.foundry/bin:$PATH"' >> ~/.zshrc
```
**Place it in the path (Option for Ubuntu):**
```bash
In the terminal: code ~ /.bashrc
```
Place it at the end of the path/code:
```bash
export PATH="$HOME/.asdf/shims:$HOME/.asdf/bin:$PATH"
```
```bash
export PATH="$HOME/.foundry/bin:$PATH"
```
- Starknet Foundry v0.27.0: [here](https://foundry-rs.github.io/starknet-foundry/getting-started/installation.html).
```bash
curl -L https://raw.githubusercontent.com/foundry-rs/starknet-foundry/master/scripts/install.sh | sh -s -- -v 0.27.0
```
**Place it in the path (Option for macOS):**
```bash
echo 'export PATH="$HOME/.asdf/shims:$HOME/.asdf/bin:$PATH"' >> ~/.zshrc
```
```bash
echo 'export PATH="$HOME/.foundry/bin:$PATH"' >> ~/.zshrc
```
**Place it in the path (Option for Ubuntu):**
```bash
In the terminal: code ~ /.bashrc
```
Place it at the end of the path/code:
```bash
export PATH="$HOME/.asdf/shims:$HOME/.asdf/bin:$PATH"
```
```bash
export PATH="$HOME/.foundry/bin:$PATH"
```

3. **Compile Go Stark Me Backend 🛠️**

Expand Down
Loading