All Projects → a5f9t4 → cairo-by-example

a5f9t4 / cairo-by-example

Licence: AGPL-3.0 license
Verbosely Documented, Minimal Starknet Contract Examples.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to cairo-by-example

argent-x
ArgentX browser extension for StarkNet - made with ❤️ by Argent
Stars: ✭ 419 (+565.08%)
Mutual labels:  cairo, starkware, starknet
starknet-hardhat-example
Examples of how Starknet Hardhat plugin can be used.
Stars: ✭ 19 (-69.84%)
Mutual labels:  starkware, starknet
ape
The smart contract development tool for Pythonistas, Data Scientists, and Security Professionals
Stars: ✭ 339 (+438.1%)
Mutual labels:  cairo, starknet
starknet.js
JavaScript library for StarkNet
Stars: ✭ 159 (+152.38%)
Mutual labels:  starkware, starknet
cairomate
Structured, dependable legos for Starknet development.
Stars: ✭ 78 (+23.81%)
Mutual labels:  cairo, starknet
cairomate
Structured, dependable legos for Starknet development.
Stars: ✭ 134 (+112.7%)
Mutual labels:  cairo, starknet
starkgate-frontend
Bridge interface allows users to transfer ERC20 tokens from Ethereum to StarkNet and vice versa.
Stars: ✭ 75 (+19.05%)
Mutual labels:  starkware, starknet
hyperglass
hyperglass is the network looking glass that tries to make the internet better.
Stars: ✭ 478 (+658.73%)
Mutual labels:  chakra-ui
node-poppler
Asynchronous node.js wrapper for the Poppler PDF rendering library
Stars: ✭ 97 (+53.97%)
Mutual labels:  cairo
members
Managing People (Members), CRUD with Dashboard
Stars: ✭ 36 (-42.86%)
Mutual labels:  chakra-ui
Generative-Art
A selection of generative art scripts written in Python
Stars: ✭ 284 (+350.79%)
Mutual labels:  cairo
ScuffedMDB
An open-source website to rate movies watched with friends, made with next.js & chakra-ui. Hosted on vercel.com.
Stars: ✭ 100 (+58.73%)
Mutual labels:  chakra-ui
denoland.id
Website and library registry for Deno Land Indonesia 🏡
Stars: ✭ 53 (-15.87%)
Mutual labels:  chakra-ui
chakra-ui-steps
Steps component designed to work seamlessly with Chakra UI
Stars: ✭ 341 (+441.27%)
Mutual labels:  chakra-ui
flitz
The Feed App Boilerplate - built on Blitz.js
Stars: ✭ 32 (-49.21%)
Mutual labels:  chakra-ui
Bulles
Simple chat application where you can chat via channels.
Stars: ✭ 15 (-76.19%)
Mutual labels:  chakra-ui
mplcairo
A (new) cairo backend for Matplotlib.
Stars: ✭ 87 (+38.1%)
Mutual labels:  cairo
ml gallery
This is a master project of some experiments with Neural Networks. Every project here is runnable, visualized and explained clearly.
Stars: ✭ 18 (-71.43%)
Mutual labels:  chakra-ui
CubeMail
CubeMail is a webmail client built using React and Chakra UI, It runs in the browser and uses the Gmail's public Javascript API.
Stars: ✭ 25 (-60.32%)
Mutual labels:  chakra-ui
i3lock-color
The world's most popular non-default computer lockscreen.
Stars: ✭ 904 (+1334.92%)
Mutual labels:  cairo

cairo-by-example • tests & lints GitHub GitHub package.json version Vercel Deployment

Verbosely Documented, Minimal Starknet Contract Examples.

Cairo By Example deployed to https://cairo-by-example.xyz

Developing

Clone the repository

git clone [email protected]:a5f9t4/cairo-by-example.git
cd cairo-by-example

Install Dependencies

yarn

Run locally

yarn dev

Contracts

Contracts are defined and available for extensible use in the contracts subdirectory.

Usage

First time?

Further installation instructions provided in the cairo-lang docs

Before installing Cairo on your machine, you need to install gmp:

sudo apt install -y libgmp3-dev # linux
brew install gmp # mac

If you have any troubles installing gmp on your Apple M1 computer, here’s a list of potential solutions.

For VSCode support:

Download cairo-0.6.2.vsix from https://github.com/starkware-libs/cairo-lang/releases/tag/v0.6.2

And run:

code --install-extension cairo-0.6.2.vsix

Set up the environment

cd into it and create a Python virtual environment:

python3 -m venv env
source env/bin/activate

Nile

Install the Nile dev environment and then run install to get the Cairo language, a local network, and a testing framework.

pip3 install cairo-nile
nile install

Compile the contracts

nile compile

Run tests

pytest

Acknowledgements

Security

This project is still in a very early and experimental phase. It has never been audited nor thoroughly reviewed for security vulnerabilities. Not recommended for production use.

Please report any security issues you find by opening up an issue in this reposisitory.

License

Cairo-by-example Contracts are released under the AGPL-3.0-only.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].