dpinones / pathfinding-cairo

Home Page:https://pathfinding-cairo.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cairo Template

πŸ’½ Install dependencies

asdf

  • asdf - The multiple runtime version manager. See asdf guide for more details.

Scarb

  • Scarb - Cairo package manager.

First, add the Scarb plugin to asdf:

asdf plugin add scarb

Install:

asdf install scarb 2.4.0
asdf global scarb 2.4.0

Starknet Foundry

  • Starknet Foundry - Toolchain for developing Starknet smart contracts. It helps with writing, deploying, and testing your smart contracts. It is inspired by Foundry.

First, add the Starknet Foundry plugin to asdf:

asdf plugin add starknet-foundry

Install:

asdf install starknet-foundry 0.14.0

πŸ› οΈ Build

To build the project, run:

make build

πŸ§ͺ Test

To test the project, run:

make test

πŸš€ Deploy

To deploy follow this setup account guide, then run:

make deploy

🎯 Pre-commit

To add pre-commit to the project, run:

pip install pre-commit && pre-commit install

πŸ“š Resources

Here are some resources to help you get started:

About

https://pathfinding-cairo.vercel.app


Languages

Language:Cairo 65.8%Language:JavaScript 29.4%Language:SCSS 3.8%Language:Shell 0.5%Language:HTML 0.3%Language:Makefile 0.1%