Lucidity Code Review: Advertising Transparency
analysis

Lucidity Code Review: Advertising Transparency

THELOGICALINDIAN - n-a

Even tighter than accepted focus on the Lucidity cipher review, announcement is not an breadth I apperceive a lot about, so I absolutely can’t animadversion abundant on this. The website says it’s “The blockchain announcement agreement for complete abstracts transparency” so I accept there’s some business affair with abstracts accuracy in the announcement apple that needs apparent with a blockchain.

Here it is, “Lucidity verifies business analytics on the Ethereum blockchain so the announcement industry can assuredly transact with trust” and “Digital announcement is broken”. Ok, so addition needs to fix it, I guess.

The aggregation took me through their system, it looks good, they had spent a lot of time and activity on it, and it was a able-bodied advised system. Like I say, I don’t apperceive abundant about announcement systems though, so I was at a bit of a loss.

What I can calmly say, is that the arrangement is legit, they absolutely accept the area knowledge, and it looks like a absolutely acceptable solution, but I’m commenting on article I accept actual little area ability on.

So I feel that this analysis is about unfair, because I’m activity to actual almost focus on their claret implementation. I adulation attractive at off-chain ascent solutions and I adulation to investigate how they are implemented and what they absolutely do. Plasma, especially, I acquisition alluring because one accomplishing builds it as ancillary chains, addition as blocks on chain, addition as transaction store, and anniversary one has its own amount adds.

So let’s accept a attending at how these guys are activity about it;

Pity we don’t accept the accord band yet, and absorbing that its a UTXO based implementation.

Actually, afore I continue, what is Plasma? No, I’m not arch into a answer, I’m aboveboard asking. From what I can understand, it’s architecture blockchains into a blockchain as a ascent solution? So instead of a transaction, I accelerate blocks (so a basis alternation block contains a transaction which is a subchain block which contains subchain transactions). And again I ask myself, why? We heard you like blocks in your chain, so we put blocks in your blocks so you can accept block block chains? I don’t get it. What is a blockchain? It’s a accompaniment accord engine. A broadcast arrangement that alcove accord on its accepted state. This is two bend though, this is the blocks and the transactions.

So what do we apprehend from a claret implementation? We apprehend affairs to be arrested and validated, we apprehend blocks to be checked, accurate and packaged. If affairs are actual we can accept centralized accompaniment is correct. So why does it charge off-chain accord if we accept on-chain consensus? Same acumen we accept it on-chain, if anyone can abide a block, again they could abide counterfeit blocks.

So, now I charge an off-chain accomplishing that has nodes, can accept transactions, can validate those transactions, can actualize blocks, can ability accord on the blocks, and again abide them to the capital chain. So I congenital addition blockchain?

Let’s move on.

Zeppelin MerkeProof and Andreas’ RLP implementation

List of operators, I’m bold validators. Let’s see.

Header definitions for the chain.

Let’s airing through it, we accord the action a attack cardinal and some data, we analysis that the accepted calculation of headers is the aforementioned as the attack cardinal given, we break the data, we grab the antecedent attack and get a assortment from it, we again save it to our attack array. Not seeing the transaction validation here, but bold we accept separation.

Transaction anatomy with inputs and outputs, beeline advanced Bitcoin UTXO implementation.

Deposit payable (so with Ether) to an address. So this is locking ETH in from the capital alternation into the claret chain. We accelerate ETH into the contract, it creates a new transaction achievement (technically a alpha event), creates the hash, creates a alpha attack and again submits this to the subchain.

Withdraw has the affidavit complication added in. You charge to accommodate an avenue block (state at that block). This is a appropriate avenue transaction on the subchain area you accelerate funds to 0x0 (burning them essentially). This is appealing cool.

I don’t see affairs actuality accurate back blocks are submitted from the sub alternation and for now it looks like it is aloof headers actuality adored and not blocks. I would accept afflicted a few accomplishing details, but annihilation amiss as written.

Lucidity Code Review Conclusion:

I still don’t get Plasma, if you are architecture your own chain, you accept your own chain. I do like Plasma though, and I like this implementation. Good code, able-bodied documented, accurate and clean. I can’t animadversion abundant on their absolute artefact and its amount add back I don’t apperceive the amplitude able-bodied enough. But I do like the alternation genitalia (even if I anticipate they could aloof body their own alternation if they are architecture Plasma in any case).

Disclaimer: Crypto Briefing code reviews are performed by auditing what is on affectation in the adept annex of the repo’s fabricated available. This was performed as an educational analysis and any comments in the commodity are the assessment of the writer. It is accustomed for cipher to change rapidly, appropriately we timestamp our cipher reviews so that they present a snapshot at a moment in time. Information independent herein should not be acclimated as any animadversion or admonition on the activity as a whole.

Lucidity Code Review Timestamp: June 22nd, 2024 at 17:56 GMT