|
1 | | -# starknet-payments |
| 1 | + |
| 2 | +<div align="center"> |
| 3 | + |
| 4 | +<picture> |
| 5 | + <source media="(prefers-color-scheme: dark)" srcset="assets/starknet-dark.png"> |
| 6 | + <source media="(prefers-color-scheme: light)" srcset="assets/starknet-light.png"> |
| 7 | + <img alt="Your logo" src="assets/starknet-light.png"> |
| 8 | +</picture> |
| 9 | +</div> |
| 10 | + |
| 11 | +<div align="center"> |
| 12 | + |
| 13 | +[](LICENSE) |
| 14 | +</div> |
| 15 | + |
| 16 | +# Starknet Payments <!-- omit from toc --> |
| 17 | + |
| 18 | +## Table of contents <!-- omit from toc --> |
| 19 | + |
| 20 | + <!-- omit from toc --> |
| 21 | +- [About](#about) |
| 22 | +- [Disclaimer](#disclaimer) |
| 23 | +- [Dependencies](#dependencies) |
| 24 | +- [Installation](#installation) |
| 25 | +- [Build and Test](#build-and-test) |
| 26 | +- [Implementation specification](#implementation-specification) |
| 27 | +- [Audit](#audit) |
| 28 | +- [Security](#security) |
| 29 | + |
| 30 | +## About |
| 31 | + |
| 32 | +This repo holds the implementation of Staknet Payments contracts. |
| 33 | + |
| 34 | +## Disclaimer |
| 35 | + |
| 36 | +Payments is a work in progress. |
| 37 | + |
| 38 | +## Dependencies |
| 39 | + |
| 40 | +- Cairo dependencies such as [Scarb](https://docs.swmansion.com/scarb/) and [Starknet foundry](https://foundry-rs.github.io/starknet-foundry/index.html) - install using [starkup](https://github.com/software-mansion/starkup). |
| 41 | + |
| 42 | +## Installation |
| 43 | + |
| 44 | +Clone the repo and from within the projects root folder run: |
| 45 | + |
| 46 | +```bash |
| 47 | +curl --proto '=https' --tlsv1.2 -sSf https://sh.starkup.dev | sh |
| 48 | +``` |
| 49 | + |
| 50 | +## Build and Test |
| 51 | + |
| 52 | +Build the contracts from the repo root: |
| 53 | + |
| 54 | +```bash |
| 55 | +scarb build |
| 56 | + |
| 57 | +``` |
| 58 | + |
| 59 | +To run the tests, execute: |
| 60 | + |
| 61 | +```bash |
| 62 | +scarb test |
| 63 | +``` |
| 64 | + |
| 65 | +## Implementation specification |
| 66 | + |
| 67 | +Specs document found [here](docs/spec.md) |
| 68 | + |
| 69 | +## Audit |
| 70 | + |
| 71 | +Find the latest audit report in [docs/audit](docs/audit). |
| 72 | + |
| 73 | +## Security |
| 74 | + |
| 75 | +Starknet Payments follows good practices of security, but 100% security cannot be assured. Starknet Payments is provided "as is" without any warranty. Use at your own risk. |
| 76 | + |
| 77 | +For more information and to report security issues, please refer to our [security documentation](https://github.com/starkware-libs/starknet-payments/blob/main/docs/SECURITY.md). |
0 commit comments