https://github.com/software-mansion-labs/starknet-workshops-ethwarsaw
https://github.com/software-mansion-labs/starknet-workshops-ethwarsaw
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/software-mansion-labs/starknet-workshops-ethwarsaw
- Owner: software-mansion-labs
- Created: 2022-08-29T09:58:43.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-16T12:05:57.000Z (over 2 years ago)
- Last Synced: 2025-02-03T12:48:30.193Z (4 months ago)
- Language: Cairo
- Size: 76.2 KB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# StarkNet Workshops @ EthWarsaw
## General information
You will learn what StarkNet is, how it works and why itโs so good. Weโll introduce you to the Cairo language, StarkNet ecosystem and tools. Then, in the practical part, youโll build and deploy your own smart contract. No prior blockchain experience required, although we assume you have some general programming knowledge.### ๐ September 2nd, 4 PM CEST
### ๐ Warsaw University of Technology - [map](https://goo.gl/maps/diZ5qW1p2Buafmtv9)
### ๐ Conference website - [go](https://www.ethwarsaw.dev)### ๐ฅ [Presentation slides](https://docs.google.com/presentation/d/1EtMje9-22sNJA0woz0vqceHYwU8BuoxxuEVcXZpiuCE/edit?usp=sharing)
## Downloading the repository
Please run:
```shell
git clone --recurse-submodules https://github.com/software-mansion-labs/starknet-workshops-ethwarsaw.git
```## Setting up the environment
To follow the workshops along, you'll need some tools. Please follow these instructions, to install them.
### Protostar
It's a toolchain for developing and testing Cairo smart contracts (think Hardhat for StarkNet).To install it, run:
```shell
curl -L https://raw.githubusercontent.com/software-mansion/protostar/master/install.sh | bash
```### Python
Make sure you have python set up. Any version between 3.7 and 3.10 will work, so If you have it already installed just skip this step, if not, just copy into your terminal:
```shell
brew install [email protected]
```
if you're working on Mac, or
```shell
sudo apt install python3.7
```
otherwise.## Visual Studio Code setup
If you use VSCode, use these two plugins to significantly improve Cairo writing experience.
### Cairo language support for StarkNet
Find it directly in vscode plugins page, or download from:
https://marketplace.visualstudio.com/items?itemName=ericglau.cairo-ls
### Cairo syntax highlighting
Download the Cairo Visual Studio Code extension (`cairo-0.9.1.vsix`) from https://github.com/starkware-libs/cairo-lang/releases/tag/v0.9.1, and install it using:```shell
code --install-extension cairo-0.9.1.vsix
```
Configure Visual Studio Code settings:
```json
"editor.formatOnSave": true,
"editor.formatOnSaveTimeout": 1500
```**Note**: You should start Visual Studio Code from the terminal *running the virtual environment*, by typing code. For instructions for macOS, see [here](https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line).
## Other IDEs
If you don't use VSCode, follow instructions provided here https://github.com/ericglau/cairo-l
## Setting up Argent X wallet (optional)
You'll need a wallet, that's compatibile with starknet.
Go [here](https://www.argent.xyz/argent-x/) to download Argent X extention for your browser, install it and create your wallet by following displayed instructions.## Cairo Cheat Sheet
# Link to telegram group
If you have further questions for this workshop, feel free to ask them here:
https://t.me/+lg3D231WTb04YzU8