https://github.com/keep-starknet-strange/satoru
Synthetics platform for Starknet, inspired by GMX v2 design.
https://github.com/keep-starknet-strange/satoru
cairo defi starknet synthetics
Last synced: 5 months ago
JSON representation
Synthetics platform for Starknet, inspired by GMX v2 design.
- Host: GitHub
- URL: https://github.com/keep-starknet-strange/satoru
- Owner: keep-starknet-strange
- License: mit
- Created: 2023-07-28T11:06:10.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-26T21:55:53.000Z (almost 2 years ago)
- Last Synced: 2025-09-08T08:47:41.028Z (10 months ago)
- Topics: cairo, defi, starknet, synthetics
- Language: Cairo
- Homepage: https://book.satoru.run/
- Size: 8.62 MB
- Stars: 112
- Watchers: 9
- Forks: 72
- Open Issues: 33
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: docs/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome-starknet - Satoru - Synthetics platform, inspired by GMX v2 design. (Open-source projects)
README
โก Satoru โก
Synthetics platform for Starknet, inspired by GMX v2 design.
[](https://github.com/keep-starknet-strange)
## โก About Satoru โก
Satoru is a cutting-edge synthetics platform for Starknet, taking inspiration from the modular design of GMX v2.
Read the [Satoru Book](https://keep-starknet-strange.github.io/satoru/) to learn more about the project.
## ๐ ๏ธ Build
To build the project, run:
```bash
scarb build
```
## Satoru compatible frontends
You can find the list of Satoru-compatible frontends, all of which have been built on top of the Satoru platform :
- [Zohal](https://github.com/Zohal-Starknet/zohal-interface)
## ๐๏ธ Infrastructure
## ๐งช Test
To test the project, run:
```bash
snforge
```
## ๐ Deploy
To deploy the contracts of Satoru, you first need to setup a smart wallet :
- Create a signer by following this tutorial : [Signers](https://book.starkli.rs/signers)
- Create an account by following this tutorial : [Accounts](https://book.starkli.rs/accounts/)
Once your smart wallet is setup, you can now run deployment files to deploy contracts, for example :
```bash
cd scripts
./deploy_contract.sh
```
## Deployed Contracts
- RoleStore: 0x07eacab18c343f30edfa9336b8eacce9bc56303d43c92609a88e8da25177f5b3
- DataStore: 0x0549539da18f4d574211365b6abd678ef940444b579900efedcb935210c41481
- OrderVault: 0x01f1252d6d02feb14cfa88beff415e1524d1cebb31870056567aae257104b6fd
- Router: 0x00dd0912017ee7c8151555394380acd1012a814916d384b12ca64afa0eae2bc5
- EventEmitter: 0x0284ae712869c0af4f538e9297e6965d3c9ba9110830944047de8d35da7ea447
- MarketToken: 0x044391e9498f440cc41ace136ea317f6bfa2080311085d1846529e421974a1d3
- MarketFactory: 0x05766918626a91ca83f52003eb03bbf1f13174aa22e340c8057d8d5d6affbfcf
- WithdrawalVault: 0x050c83c2bc74cc50676fdd5598b40f9d0d6d5ccf6ea3478a7999e29473da03f1
- SwapHandler: 0x039aa67b479f4870878ec6d3002f9fa9b8e98d4d3d10c1f32b5d394a456aab28
- ReferralStorage: 0x0189463034c24b2cb091dcb515287bea13a4767534f09e52692a4cdc30254001
- DepositVault: 0x07d435e7ab3a5cd4b872e5725b02898833cb9a7c62e2d9a6a9db324d61e2925e
## ๐ Resources
Here are some resources to help you get started:
- [Satoru Book](https://keep-starknet-strange.github.io/satoru/)
- [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/)
- GMX v2 resources
- [GMX Synthetics](https://github.com/gmx-io/gmx-synthetics)
- [Trading on v2](https://docs.gmx.io/docs/trading/v2)
- [Contracts for v2](https://docs.gmx.io/docs/api/contracts-v2/)
- [Liquidity on v2](https://docs.gmx.io/docs/providing-liquidity/v2)
## ๐ License
This project is licensed under the **MIT license**. See [LICENSE](LICENSE) for more information.
## Contributors โจ
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

Abdel @ StarkWare
๐ป

sparqet
๐ป

zarboq
๐ป

drspacemn
๐ป

Michel
๐ป

delaaxe
๐ป

danilowhk
๐ป

Erim
๐ป

parketh
๐ป

Mathieu
๐ป

gaetbout
๐ป

Alex Metelli
๐ป

Fabien C
๐ป

rmzlb
๐ป

0xTitan
๐ป

Bal7hazar @ Carbonable
๐ป

Zizou
๐ป

Darlington Nnam
๐ป

Eytan Levy
๐ป

Daniel Bejarano
๐ป

Jordy Romuald
๐ป

StarkFishinator
๐ป

Axel Izsak
๐ป

Luciefer
๐ป

tevrat aksoy
๐ป

Piotr Magiera
๐ป

ftupas
๐ป

lambda-0x
๐ป

Tbelleng
๐ป

dic0de
๐ป

akhercha
๐ป

VictorONN
๐ป

kasteph
๐ป

Khaeljy
๐ป

JeanWoked
๐ป

vuittont60
๐ป

Arnaud Berger
๐ป

faytey
๐ป
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!