web3ninja pfp

web3ninja

@web3ninja

25 Following
44 Followers


web3ninja pfp
web3ninja
@web3ninja
Indeed I have https://warpcast.com/web3ninja/0xf4ec6548 🤘
0 reply
0 recast
0 reaction

web3ninja pfp
web3ninja
@web3ninja
What's the value of being able to verify the beacon chain consensus data? At it's most basic, if you have a light client that can track the head of the chain, you know the current state of the whole Ethereum world through the "stateroot" contained in the most recent block, which is a 64 hexadecimal string that magically assures that you can verify anything else anybody else tells you about the current state of the world (e.g. what's my wallet's ETH balance? how much USDC does Circle actually have minted, etc)
0 reply
0 recast
0 reaction

web3ninja pfp
web3ninja
@web3ninja
So let's start with "What is a CL lightclient"? We need to define two things. 1) CL - Consensus Layer - this refers to the part of the Ethereum tech stack also known as the Beacon Chain. It's where the validators do their job of proposing and attesting to (i.e agreeing to valid) blocks. 2) Light client - a piece of software that only validates the "consensus" data of a blockchain and not all of the execution layer logic. Clear as mud, right?
0 reply
0 recast
0 reaction

web3ninja pfp
web3ninja
@web3ninja
So why does anybody care about "syncing a CL light client"? Basically, it's a key part of the whole Ethereum vision, which revolves around the idea of being able to transact and interact without relying on depending on one centralized provider. Will break this down in casts to come.
0 reply
0 recast
0 reaction

web3ninja pfp
web3ninja
@web3ninja
Succeeded. Ever wanted to sync your own CL light client but don't want to bother with the Beacon Chain? Now, with Ultralight, you can sync one from Portal Network data.
0 reply
1 recast
2 reactions

web3ninja pfp
web3ninja
@web3ninja
Was going to explain SSZ but...that'll be a future thread. Today is for navigating the deep waters of trying to run Verkle blocks in a client that only sort of supports them.
0 reply
0 recast
0 reaction

web3ninja pfp
web3ninja
@web3ninja
So I wasn't able to really sync a light client on just Portal Network data yesterday because of one problem. SSZ types that magically change at a hard fork. More on that tomorrow
0 reply
0 recast
0 reaction

web3ninja pfp
web3ninja
@web3ninja
Success with some hackery. Hopefully next week we'll have active nodes tracking the of CL without actually touching the beacn chain.
0 reply
0 recast
0 reaction

web3ninja pfp
web3ninja
@web3ninja
I'm hoping to try and sync a Lodestar light client purely from the Portal Network today. Pair that with an EVM and what can't we do?
0 reply
0 recast
0 reaction

web3ninja pfp
web3ninja
@web3ninja
Time to try and make this a habit. Can I cast every day? Lessee. For now, I leave you with this. https://github.com/ethereum/js-team-organization/pull/37 The roadmap and I have a job on it. 😅
0 reply
0 recast
0 reaction

web3ninja pfp
web3ninja
@web3ninja
Who doesn't like a git commit as a progress report - https://github.com/ethereumjs/ethereumjs-monorepo/commit/05552af56d1601124bae7c4580e3a823242401ee
0 reply
0 recast
0 reaction

web3ninja pfp
web3ninja
@web3ninja
So I might be done with Zerion. Used to be a super clean, super easy to use app. For some reason the web browser is now super slow and it took me 10 minutes just to figure out where the bridge button had gone. And then the bridge option didn't even work. What other wallets should I try on Android?
0 reply
0 recast
0 reaction

web3ninja pfp
web3ninja
@web3ninja
Blobs in the browser, now with less hackery required. https://github.com/ethereumjs/kzg-wasm/releases/tag/kzg-wasm%400.4.0
0 reply
0 recast
0 reaction

web3ninja pfp
web3ninja
@web3ninja
Happy to report that the Paraswap team returned my funds from the whitehack draining of wallets associated with their faulty router contract. Lesson learned from this experience, revoke approvals after you're done making a swap, especially on L2. We need a smart contract wallet for this.
0 reply
0 recast
0 reaction

web3ninja pfp
web3ninja
@web3ninja
I guess I've finally earned another stripe on the road to being a web3 native. Have lost funds (small amount) in one previous hack but got hit by my apparent first whitehat hack in the paraswap kerfuffle this morning. Lessee if the tokens come back.
0 reply
0 recast
0 reaction

web3ninja pfp
web3ninja
@web3ninja
The only really interesting thing about this web app is that it lets you post blobs from the browser, so if you want to run a rollup entirely manually where your blobs are just strings of text, this is for you
0 reply
0 recast
0 reaction

web3ninja pfp
web3ninja
@web3ninja
For best results, open your browser's dev console and watch the logs to follow the action.
0 reply
0 recast
0 reaction

web3ninja pfp
web3ninja
@web3ninja
Note, this doesn't always work exactly right, mainly because I'm not a master of calculating gas costs but it works end to end about 6 out of 10 times.
0 reply
0 recast
0 reaction

web3ninja pfp
web3ninja
@web3ninja
5. Monitor the beacon chain and try to verify the blob is stored by a beacon node
0 reply
0 recast
0 reaction

web3ninja pfp
web3ninja
@web3ninja
4. Submit the blob transaction to the network
0 reply
0 recast
0 reaction