Please describe your proposed solution
Subbit.xyz is an L2 that:
+ shares the security guarantees of the L1
+ has instant settlement and unbounded TPS
+ is simple to use, build on, and reason about
+ and all with an absolutely tiny footprint.
It is an L2 optimized to be integrated into subscription services.
The project is in two parts:
+ Subbit.xyz - validators, tx-builders, documented SDK
+ A real world application using Subbit.xyz : Orcfax’s payment solution.
Let's describe how Subbit.xyz works via a user journey of a dApp developer/user that requires an oracle service.
Bob's dApp requires oracle services and chooses Orcfax as the service provider.
Orcfax has its services wrapped up with Subbit.xyz payment channels enabled.
- Bob wants to use Orcfax's service. He opens an account with Orcfax. In doing so he locks some funds at the subbit smart contract.
- Orcfax verifies the account and sees Bob’s account balance, and begins providing service to Bob.
- With each request Bob includes an incremental guarantee of payment Orcfax checks these are correct and doesn’t exceed the locked funds.
- When Orcfax needs to pay their server bills, they submit a batch of these latest guarantees (from Bob but also Charlie, etc …) to the L1. Orcfax is paid exactly what they are owed by each of their subscribers.
- Whenever Bob wants, he can close the account. Orcfax has a time window to make one final claim of the outstanding balance.
- After this final claim or the end of the time window, Bob can withdraw the remaining funds.
Bob is always in control of his balance. He knows exactly how much he owes Orcfax, and knows that the remainder of the balance is safely his. No nasty surprises.
Components:
+ Smart contract
+ Tx-builders
+ SDK with documentation
+ How-To docs on wrapping any existing service in Subbit.xyz
+ Real world application to Orcfax's subscription service including user facing interfaces.