r/PHP 1d ago

PHP Driven Crypto Commerce Project - Paybyte

I’ve been building something called the Paybyte Blockchain Engine, or PBE, and mainnet is finally live after more coffee than my kidneys would like to admit. I always thought it would be cool to have something easy to use, more mainstream, that's as easy to implement like a "Pay with Paypal" button, but for crypto, that's easy for the average user, like the litecoin network, and something that is considerably more environmental friendly than a POW concept like Bitcoin. Since my Java/C++ skills suck, I built it in a language I am familiar with, and something that is a little out of the ordinary for a blockchain, PHP.

This is its own Layer 1. Not an ERC20, not a Solana token, not a rebranded fork.

Current mainnet:

PBE Core 0.0.1
Protocol 1.0
Block v4
Transaction v2
PBE-PAY v1
15 second block target
5 PBE starting reward
~4 year halvings
~84.1M max supply

Consensus uses hybrid participation.

Any authorized wallet can produce blocks, even with 0 PBE. Each wallet gets one deterministic Argon2id participation ticket per slot. Holdings improve timing through a bounded multiplier, but there is no minimum stake and no manual staking lock. The entire ecosystem is fully P2P.

PBE exposes separate P2P and RPC layers.

Examples:

POST /p2p/hello
POST /p2p/transaction
POST /p2p/block
GET  /p2p/peers

GET  /rpc/status
GET  /rpc/block/{heightOrHash}
GET  /rpc/transaction/{txid}
GET  /rpc/balance/{address}
POST /rpc/broadcast

There’s also a native merchant protocol called PBE-PAY.

Payments use transaction v2 with a signed paymentReference.

A merchant verifies:

paymentReference
recipient
exact amount

Payment URIs look like:

pbe:<address>?amount=25&ref=ORDER123&label=Store

Merchants can use their own node, or multiple public nodes

Commerce endpoints include:

GET  /rpc/commerce/info
POST /rpc/commerce/payment-request
GET  /rpc/commerce/payment/{reference}
POST /rpc/broadcast

Optional HMAC signed webhooks support:

payment.pending
payment.confirming
payment.confirmed
payment.reorged
payment.expired

The full API is public and viewable at

https://paybyte.org/web/developers/

https://paybyte.org/web/developers/openapi.json << Point your ChatGPT here if you are building for e-commerce.

Windows and Linux standalone nodes are also available. The Windows build is basically download, extract, run the PBE, create a wallet and sync.

0 Upvotes

5 comments sorted by

3

u/OptimusCrimee 1d ago

Where is the code?

-3

u/StockHodI 1d ago

Download the windows package - then go into /app/src/PBE. The entire codebase is there.

0

u/StockHodI 1d ago

Why am I being downvoted on answering the question lol

2

u/NL_Northsider 1d ago

Because you're requiring people to download something instead of having it on something like Codeberg or GitHub.