https://github.com/safe-global/safe-locking-service
Indexes and provides data for the Safe locking
https://github.com/safe-global/safe-locking-service
Last synced: 5 months ago
JSON representation
Indexes and provides data for the Safe locking
- Host: GitHub
- URL: https://github.com/safe-global/safe-locking-service
- Owner: safe-global
- License: mit
- Created: 2024-02-20T15:47:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-26T10:41:20.000Z (about 1 year ago)
- Last Synced: 2025-05-26T11:48:02.345Z (about 1 year ago)
- Language: Python
- Size: 236 KB
- Stars: 0
- Watchers: 6
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
[](https://github.com/safe-global/safe-locking-service/actions/workflows/python.yml)
[](https://coveralls.io/github/safe-global/safe-locking-service?branch=main)
[](https://github.com/pre-commit/pre-commit)


[](https://hub.docker.com/r/safeglobal/safe-locking-service)
# Safe Locking Service
Keeps track emitted events by Safe token locking contract. https://github.com/safe-global/safe-locking
## Configuration
```bash
cp .env.sample .env
```
Configure environment variables on `.env`:
- `DJANGO_SECRET_KEY`: **IMPORTANT: Update it with a secure generated string**.
- `ETHEREUM_NODE_URL`: RPC node url.
## Execution
```bash
docker compose build
docker compose up
```
Then go to http://localhost:8000 to see the service documentation.
## Endpoints
- /v1/about
## Setup for development
Use a virtualenv if possible:
```bash
python -m venv venv
```
Then enter the virtualenv and install the dependencies:
```bash
source venv/bin/activate
pip install -r requirements-dev.txt
pre-commit install -f
cp .env.sample .env
./run_tests.sh
```
## Contributors
[See contributors](https://github.com/safe-global/safe-locking-service/graphs/contributors)