Inspiration

Diamond forging and unethical diamond mining practices is a huge issue in the industry. From corrupt authenticators to child slaves being used for mining diamonds, I saw that the industry needs more transparency from a body that cannot easily be corrupted. That body happens to be the blockchain.

What it does

It creates a Solidity contract for a diamond which contains information on a particular diamonds GIA number, price, cut, weight, country of origin, and so much more. Pretty much everything that is listed in the GIA report document found here: https://www.gia.edu/analysis-grading-sample-report-diamond One can amend the data as it changes (perhaps a diamond got a scratch, or it went down in price, it's weight is not what it used to be) through a UI that looks very similar to the Block Chain greeting app. One can also access the data and can see the history of the diamond, allowing for full transparency on the platform.

How we built it

I used this repo as a base https://github.com/badgerblockchain/blockchain-greeting and used react.js for the frontend, node.js for the backend, and ethers.js for the frontend to interact with the smart contract I wrote in solidity. Also used hardhat and metamask.

Challenges we ran into

Building out the smart contract was the biggest challenge. Solidity works a bit differently than regular code so getting used to that was a challenge. I am also allergic to frontend development so having to get that done was a bit of a challenge as well.

Accomplishments that we're proud of

I managed to get the website to work. I think that with further development an polishing this can be one of the greatest accomplishments to be made with blockchain technology. It was also a great learning experience for me too. Will 100% look into more web3 based projects in the future.

What we learned

I learned a lot about how blockchain technology actually works from a development perspective, as well as a great way to use it for the common good. I learned pretty much the entire tech stack on the fly as well so that was an interesting experience.

What's next for Diamond Auth

I think that this can be polished a bit better (in terms of the UX) and it can also be expanded to cover not just diamonds, but as many commodities as possible that share the same issues as the diamond industry does.

Built With

Share this project:

Updates