Phantasma Code Review by Andre Cronje
analysis

Phantasma Code Review by Andre Cronje

THELOGICALINDIAN - n-a

Phantasma wants to do article several bodies accept advised afore now: they appetite to actualize a decentralized arrangement for emails, and agreeable administration so that artists can get paid properly, and do it all deeply and with encryption and so on and so on.

It’s not the newest abstraction in the world, and some of it doesn’t accomplish a accomplished lot of sense, really.

We accept now completed a abounding Phantasma ICO analysis – you can see it here.

A quick album on abstracts accumulator and the blockchain. What is a blockchain acceptable at? Decentralized and broadcast trust. What is a blockchain bad at? Any affectionate of abstracts storage.

The affair that is important to bethink is that abstracts stored in the blockchain has to be stored on every bulge in the blockchain, this is how decentralized assurance is achieved. The accepted transactional blueprint of a transaction can be apparent as From, To, Amount, Data. Let’s accept I accelerate a transaction From 0x1 To 0x2, with 0 Amount, and Abstracts acreage busy with email HTML. This needs to be adored on every distinct node, so if there are 100 nodes this is x100 saved, authoritative accumulator abundantly expensive.

This is area we charge to abstracted decentralized, and distributed. We accept broadcast book systems, IPFS, Swarm, NeoFS and we accept broadcast abstracts stores, Bluzelle, Fluence.ai, PepperDB. Abstracts should be stored in these, and proofs of the abstracts should be stored on the blockchain.

So to accord an example, I save a book that has my email capacity encrypted into IPFS. I again accomplish a deterministic assortment off of this abstracts (SHA256 for example) which gives me a anchored output, instead of autumn the absolute email on the blockchain, I abundance the affidavit (the deterministic hash) on the blockchain, this is the abstraction of autumn proofs on the blockchain instead of autumn abstracts on the blockchain (something I durably accept is the applied use case for data, off-chain storage, on-chain proof).

This is what Phantasma is doing. Interestingly enough, this is a added alcove use case of what NuCypher are doing, so there is some able antagonism starting up in this market.

Enough of that, let’s dive in.

We accept a few projects, we accept PhatasmaSharp, Official Phantasma SDK for C#, we accept PhantasmaNeo, Deployment on NEO, we accept PhtasmaMail, and PhatasmaMail-webapp.

Let’s alpha with PhantasmaSharp.

1 contributor, 2 commits, aftermost adapted 3 months ago.

Store saves the mails. Saves them with a .mail extension. Not seeing encryption.

The deterministic assortment acclimated is MD5. So, I’m a bit black to see MD5 here, but back this is aloof a assortment for the agreeable and not accompanying to security, we can acquire it.

Nothing accident in Protocol.

Message adored as XML on IPFS. Not abundant activity on here.

Mailbox conception and mail sending via NEO contracts. Not a lot accident here.

And that’s all we accept for PhantasmaProtocol. Let’s move on to PhantasmaNeo.

This is aloof the badge and acute contract. Moving on to PhantasmaMail.

Builds for Android, iOS, and an email client, looks cool, let’s accept a look. Xamarin actuality used, makes faculty (it’s a cantankerous appliance adaptable and windows development kit, allows you to body Android, iOS, and Windows apps with a distinct cipher base).

Some forms, basal skeleton stuff, annihilation of cogent substance, let’s move on to PhantasmaMail-webapp. Mostly boiler bowl with a few Coming Soons.

And that’s everything.

So to breach it down, I abundance an unencrypted email on IPFS, this gives me a accumulator tag for IPFS, I accelerate that accumulator tag to the almsman via a Neo contract, and they can again admission the capacity (since they accept admission to the IPFS hash).

Phantasma Code Review Conclusion:

Not a lot to attending at unfortunately, looks like they alone afresh started dev, apparently about a 1–2 weeks account of assignment for a aggregation of 3 here.

Does email charge decentralization? Does it charge a token? Does it charge to accession $10m? I don’t know, but this is the skeleton for a decentralized emailing app that talks to a Neo arrangement and food abstracts in IPFS, so it is accomplishing what they are adage it does.

Disclaimer: Crypto Briefing cipher 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.

Phantasma Code Review Timestamp: May 2nd, 2024 at 06:16 GMT