https://github.com/davidweb3-ctrl/stacks-spend-guard
https://github.com/davidweb3-ctrl/stacks-spend-guard
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/davidweb3-ctrl/stacks-spend-guard
- Owner: davidweb3-ctrl
- Created: 2026-05-25T08:57:32.000Z (30 days ago)
- Default Branch: main
- Last Pushed: 2026-05-26T04:54:09.000Z (29 days ago)
- Last Synced: 2026-05-26T06:07:07.125Z (29 days ago)
- Language: Clarity
- Size: 33.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stacks Spend Guard
Stacks Spend Guard is a small Bitcoin L2 payment-safety proof for Stacks Builder Rewards.
The Clarity contract lets each user:
- set a monthly spend limit;
- record merchant spend receipts;
- read monthly spent amount, receipt count, and remaining limit.
It is intentionally non-custodial. It does not transfer, approve, custody, borrow, lend, swap, or route funds.
## Contract
```text
contracts/stacks-spend-guard.clar
```
## Local Checks
```bash
clarinet check
npm test
```
Current local result:
```text
clarinet check: 1 contract checked
npm test: 3 tests passed
```
## Deployment
See `DEPLOYMENT_NOTES.md`.
## Talent Contract Format
Talent expects a Stacks contract principal after deployment:
```text
SP...address.stacks-spend-guard
```
Do not use this repo as a production wallet or custody system.