https://github.com/hejny/crypto-donate
Simple app in which you can poll via donating with crypto
https://github.com/hejny/crypto-donate
old utility
Last synced: 5 months ago
JSON representation
Simple app in which you can poll via donating with crypto
- Host: GitHub
- URL: https://github.com/hejny/crypto-donate
- Owner: hejny
- License: other
- Created: 2017-08-21T14:49:20.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2025-12-21T16:43:49.000Z (7 months ago)
- Last Synced: 2025-12-23T06:24:00.571Z (6 months ago)
- Topics: old, utility
- Language: TypeScript
- Homepage:
- Size: 1.91 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 💸 Crypto donate
[](https://packagequality.com/#?package=crypto-donate)
[](https://snyk.io/test/github/hejny/crypto-donate)
[](https://github.com/hejny/crypto-donate/issues)
Simple app in which you can poll via donating with crypto
`This project was not finished and also not maintained for a long time. So expect not very updated stuff.`
# API
## GET /donates
List all created donates
### Response
```json
{
"data": [
{
"uuid": "1de0ab2c-0b4e-4fe3-85e9-8f92ae4c64ec",
"name": "Irma",
"message": "Hi",
"currency": "BTC",
"address": "1CwHxeRP156GBgPDoKPWqYTQdExiX4xRBs",
"created": "2017-10-01 14:32:32"
}
]
}
```
## POST /donates
Creates new donate.
### Request
```json
{
"name":"Irma",
"message":"Hi",
"currency":"BTC"
}
```
### Response
```json
{
"data": {
"uuid": "1de0ab2c-0b4e-4fe3-85e9-8f92ae4c64ec",
"name": "Irma",
"message": "Hi",
"currency": "BTC",
"address": "1CwHxeRP156GBgPDoKPWqYTQdExiX4xRBs",
"created": "2017-10-01 14:32:32"
}
}
```
## GET /donates/[:uuid]
Get information + received ammount of 1 donate.
### Response
```json
{
"uuid": "1de0ab2c-0b4e-4fe3-85e9-8f92ae4c64ec",
"name": "Irma",
"message": "Hi",
"currency": "BTC",
"address": "1CwHxeRP156GBgPDoKPWqYTQdExiX4xRBs",
"created": "2017-10-01 14:32:32",
"received": 0
}
```
## GET /donates-payed
List all payed donates.
### Request
You can add these GET parameters to modify request:
**start_time**
Timestamp of begining.
Minimum value is 1. year ago maximum is now.
Default value is 1. year ago.
### Response
```json
{
"data": [
{
"uuid": "1de0ab2c-0b4e-4fe3-85e9-8f92ae4c64ec",
"name": "Irma",
"message": "Hi",
"currency": "BTC",
"address": "1CwHxeRP156GBgPDoKPWqYTQdExiX4xRBs",
"created": "2017-10-01 14:32:32",
"amount": 0.123
}
]
}
```
## 🖋️ Contributing
I am open to pull requests, feedback, and suggestions. Or if you like this utility, you can [☕ buy me a coffee](https://www.buymeacoffee.com/hejny) or [donate via cryptocurrencies](https://github.com/hejny/hejny/blob/main/documents/crypto.md).
You can also ⭐ star the crypto-donate package, [follow me on GitHub](https://github.com/hejny) or [various other social networks](https://www.pavolhejny.com/contact/).
## ✨ Partners
[Become a partner](https://www.pavolhejny.com/contact/)


