You are viewing a single comment's thread from:

RE: Huge Pack Airdrop to Splinterlands & Hive Stakeholders

in Splinterlandslast month

as we are talking about it, and you build a game on it you probably know. just few days ago i got to look into the Base network, i must say i am pretty stupid on how what works. but what i managed to find is that at the moment base network is managed by Coinbase. and more or less it looks like a database Coinbase created to batch data before it writes it to Ethereum. Makes sense, but it looks like coinbase is the only one running the infrastructure.

And B3 is another layer above it. as i managed to find a bit of data something about Coinbase employees or ex employees making it, and nothing how it works and who is running the infrastructure, I would assume it is another database above the database.

Is there a way for you or me to run nodes for Base or B3?

i must say i have no idea what Splinterlands is writing to Hive but i would assume that ID of the card i own is written to Hive and connected to my username. You are saying you can't recreate the card from transactions written on Hive.

I would assume B3 writes the transaction, batches it with all the other transactions, writes it to Base, Base batches it with all the other transactions on their database and writes it to Ethereum.

What is the difference?

Sort:  

Those are some deep questions. Let me try to explain.

Base uses optimistic rollups, settling on Ethereum. (it's writing the final transactions to Ethereum)

Optimistic rollups are layer 2 (L2) protocols designed to extend the throughput of Ethereum's base layer. They reduce computation on the main Ethereum chain by processing transactions off-chain, offering significant improvements in processing speeds. Unlike other scaling solutions, such as sidechains, optimistic rollups derive security from Mainnet by publishing transaction results on-chain, or plasma chains, which also verify transactions on Ethereum with fraud proofs, but store transaction data elsewhere.

B3 also uses optimistic rollups, but settling on Base. It's also using something called, https://celenium.io/rollup/b3, which is an infrastructure provider for rollups. So you're not able to run a witness node as you'd be able to run one on Hive.

Now, neither B3 or Base are using databases in the traditional sense. Assets don't just exist somewhere in a database, they're simply stored as transaction logs and apps wanting to use that data, need to index the transactions and then create their own databases out of them, i.e. https://ponder.sh. Due to smart contracts aka. logic being onchain, all of the transactions can be used to reconstruct the assets.

It works similarly on Hive, just with the difference that the logic for custom jsons is NOT onchain. For example, if you open a pack in Splinterlands, that opening is processed offchain and then stored within Splinterlands' database. You could broadcast 5x the pack opening, but if in the end only 1 gets processed, simply alone from the blockchain transactions, you wouldn't know which got processed and which didn't.

Thanks.

One thing i understand even less now is, i made a transaction on B3, i opened a pack. it needs to be stored somewhere on B3 network before it is written to Base, because it needs to be batched with all other transactions. The same needs to happen on Base before it goes to Ethereum. There needs to be some kind of infrastructure running for that to happen. There are no classics decentralized nodes responsible for that, so is Coinbase running it?
I assume it must be recorded somewhere as you can't batch stuff in real time :)

ignore the terminology, i probably missed half of how things should be called.

Afaik, the sequencer node(s) are bundling the transactions and then posting them bundled to Ethereum/Base from Base/B3. Within the timeperiod between a transaction being run on the rollup and it being submitted to Ethereum/Base, a transaction is technically not confirmed, only afterwards. Some blockchains only run 1 sequencer node, which means, there is some trust involved in the sense that the sequencer node isn't censoring transactions or delaying them. However, afaik, there are also projects trying to decentralise the sequencer nodes.

Here is more about Sequencers: https://blog.jarrodwatts.com/the-ultimate-guide-to-sequencers-in-l2-blockchains