Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
<a href="https://lnbits.com" target="_blank" rel="noopener noreferrer">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://i.imgur.com/QE6SIrs.png">
<img src="https://i.imgur.com/fyKPgVT.png" alt="LNbits" style="width:280px">
</picture>
</a>

[![License: MIT](https://img.shields.io/badge/License-MIT-success?logo=open-source-initiative&logoColor=white)](./LICENSE)
[![Built for LNbits](https://img.shields.io/badge/Built%20for-LNbits-4D4DFF?logo=lightning&logoColor=white)](https://github.com/lnbits/lnbits)

# <img src="/static/image/numbers.png" style="width:40px;"> Numbers - <small>[LNbits](https://github.com/lnbits/lnbits) extension</small>

## Bitcoin Numbers

- A provably fair numbers game, powered by Bitcoin block data.
A provably fair numbers game, powered by Bitcoin block data.

Set a date/time, and at that time the latest bitcoin block hash will be fetched and a winning number calculated.

Risks: This game relies on block data from mempool.space, which means you're trusting them not to manipulate it. In theory, if the prize were large enough, miners might try to influence the outcome—but that would require a very LARGE jackpot to make it worthwhile.

Gambling is dangerous, gamble responsibly.
https://www.gambleaware.org

## Powered by LNbits

[LNbits](https://lnbits.com) is a free and open-source lightning accounts system.

[![Visit LNbits Shop](https://img.shields.io/badge/Visit-LNbits%20Shop-7C3AED?logo=shopping-cart&logoColor=white&labelColor=5B21B6)](https://shop.lnbits.com/)
[![Try myLNbits SaaS](https://img.shields.io/badge/Try-myLNbits%20SaaS-2563EB?logo=lightning&logoColor=white&labelColor=1E40AF)](https://my.lnbits.com/login)
32 changes: 28 additions & 4 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,44 @@
{
"id": "numberlottery",
"name": "Numberlottery",
"version": "1.0.0",
"name": "Numberlottery",
"repo": "https://github.com/lnbits/numberlottery",
"short_description": "Block based numbers game",
"description": "",
"tile": "/numberlottery/static/image/numbers.png",
"min_lnbits_version": "1.3.0",
"tags": ["gambling"],
"contributors": [
{
"name": "arcbtc",
"uri": "https://github.com/arcbtc",
"role": "Contributor"
}
],
"images": [],
"images": [
{
"uri": "https://raw.githubusercontent.com/lnbits/numberlottery/main/static/image/1.png"
},
{
"uri": "https://raw.githubusercontent.com/lnbits/numberlottery/main/static/image/2.png"
},
{
"uri": "https://raw.githubusercontent.com/lnbits/numberlottery/main/static/image/3.png"
},
{
"uri": "https://raw.githubusercontent.com/lnbits/numberlottery/main/static/image/4.png"
},
{
"uri": "https://raw.githubusercontent.com/lnbits/numberlottery/main/static/image/5.png"
},
{
"uri": "https://raw.githubusercontent.com/lnbits/numberlottery/main/static/image/6.png"
}
],
"description_md": "https://raw.githubusercontent.com/lnbits/numberlottery/main/description.md",
"terms_and_conditions_md": "https://raw.githubusercontent.com/lnbits/numberlottery/main/toc.md",
"license": "MIT"
"license": "MIT",
"paid_features": "",
"tags": ["Gambling"],
"donate": "",
"hidden": false
}
13 changes: 8 additions & 5 deletions description.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
## Bitcoin Numbers
A provably fair numbers game powered by Bitcoin block data.

- A provably fair numbers game, powered by Bitcoin block data.
Its functions include:

Set a date/time, and at that time the latest bitcoin block hash will be fetched and a winning number calculated.
- Setting draw dates tied to Bitcoin block hashes
- Calculating winning numbers from blockchain data
- Selling lottery tickets via Lightning payments
- Providing transparent and verifiable results

Risks: This game relies on block data from mempool.space, which means you're trusting them not to manipulate it. In theory, if the prize were large enough, miners might try to influence the outcome—but that would require a very LARGE jackpot to make it worthwhile.
A provably fair lottery system that uses Bitcoin blockchain data to generate winning numbers, ensuring transparent and verifiable outcomes.

Gambling is dangerous, gamble responsibly.
Gambling is dangerous and can be addictive, gamble responsibly.
https://www.gambleaware.org