Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bataboom/satsbb
Self-hosted Crypto Merchant. Built using Laravel 6.x - 10.x. Supports Bitcoin/Litecoin.
https://github.com/bataboom/satsbb
bitcoin laravel litecoin self-hosted
Last synced: 6 days ago
JSON representation
Self-hosted Crypto Merchant. Built using Laravel 6.x - 10.x. Supports Bitcoin/Litecoin.
- Host: GitHub
- URL: https://github.com/bataboom/satsbb
- Owner: BataBoom
- Created: 2024-06-11T12:45:53.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-11T18:33:27.000Z (8 months ago)
- Last Synced: 2025-02-01T00:26:56.982Z (10 days ago)
- Topics: bitcoin, laravel, litecoin, self-hosted
- Language: PHP
- Homepage: https://github.com/BataBoom/SatsBB/wiki
- Size: 5.52 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Self-hosted Crypto Merchant
Laravel 10.x using PHP 8.2
```
cp .env.example .env
define mysql in .env
composer install
/usr/bin/php8.2 artisan migrate
/usr/bin/php8.2 artisan db:seed
```- http://yourdomain.com/admin/payments
- [email protected]
- YourAdminPassword (or as defined in seeder)Add a site in the admin panel, ensure the site has a valid callback URL accepting POST Requests. Data will be forwarded to that URL after a payment is complete.
define a Litecoin and Bitcoin RPC Login in .env then run
```
/usr/bin/php8.2 artisan config:clear
```Next create an invoice: https://github.com/BataBoom/SatsBB/wiki/Create-Invoice
Finally set your cron
```
* * * * * cd /var/www/merchant && php artisan schedule:run >> /dev/null 2>&1
```Mark your initial "test" invoices as paid in the admin panel. You should be redirected to admin panel, with invoice marked as paid w/o any errors. If there are errors examine the log and re-check the steps.
Future updates + wiki to come. Donations welcome.
- LTC: ltc1qcjzvjfvs4lrx4r7cet0pvewkqpd0gvgwgzxwvd
- BTC: bc1q33vpvccrc85wazke69na369ajw0983jn8eu8wc