https://github.com/blockful/swaplace-cairo
Swaplace is an, Open-source, Ownerless and Feeless Token Swap Protocol
https://github.com/blockful/swaplace-cairo
blockchain cairo otc publicgoods starknet swap
Last synced: 6 months ago
JSON representation
Swaplace is an, Open-source, Ownerless and Feeless Token Swap Protocol
- Host: GitHub
- URL: https://github.com/blockful/swaplace-cairo
- Owner: blockful
- License: mit
- Created: 2023-12-26T13:20:56.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-16T18:25:43.000Z (over 2 years ago)
- Last Synced: 2026-01-20T23:37:22.934Z (6 months ago)
- Topics: blockchain, cairo, otc, publicgoods, starknet, swap
- Language: Cairo
- Homepage: https://app.swaplace.xyz/
- Size: 57.6 KB
- Stars: 2
- Watchers: 0
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: docs/CODE_OF_CONDUCT.md
- Security: docs/SECURITY.md
Awesome Lists containing this project
README
# Swaplace Starknet
## ๐ฝ Install dependencies
### asdf
- [asdf](https://asdf-vm.com/) - The multiple runtime version manager. See [asdf guide](https://asdf-vm.com/guide/getting-started.html) for more details.
### Scarb
- [Scarb](https://docs.swmansion.com/scarb/docs.html) - Cairo package manager.
First, add the Scarb plugin to asdf:
```bash
asdf plugin add scarb
```
Install:
```bash
asdf install scarb 2.3.1
asdf global scarb 2.3.1
```
### Starknet Foundry
- [Starknet Foundry](https://foundry-rs.github.io/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:
```bash
asdf plugin add starknet-foundry
```
Install:
```bash
asdf install starknet-foundry 0.12.0
```
## ๐ ๏ธ Build
To build the project, run:
```bash
make build
```
## ๐งช Test
To test the project, run:
```bash
make test
```
## ๐ Deploy
To deploy follow this [setup account guide](/setup-account.md), then run:
```bash
make deploy
```
## ๐ฏ Pre-commit
To add pre-commit the project, run:
```bash
pip install pre-commit && pre-commit install
```
## ๐ Resources
Here are some resources to help you get started:
- [Cairo Book](https://book.cairo-lang.org/)
- [Starknet Book](https://book.starknet.io/)
- [Starknet Foundry Book](https://foundry-rs.github.io/starknet-foundry/)
- [Starknet By Example](https://starknet-by-example.voyager.online/)
- [Starkli Book](https://book.starkli.rs/)