George Whitcher

NFT and Web Development

NFT and Web Development

So I have been hearing a lot about NFTs and cryptocurrency.  Being a web developer I was naturally intrigued as this is surrounded around the web.  I caught up with some friends who explained the basics to me and I started taking a deep dive into the tech behind NFTs.

To cover the basics an NFT (Non-Fungible Token) is an image that you own.  Sometimes those NFTs are attached to some kind of product or service.  Sometimes it can just be an image.  The details surrounding each NFT and why it is so valuable really depend on the NFT itself.  The NFT is validated against a blockchain.  This is where the ownership of the NFT is held.  Each NFT has JSON metadata with unique identifiers which provides proof of ownership as well as a history of its sales.

I have been interacting with the Solana blockchain.  To do this I use RUST, Phantom Wallet, React, and Anchor.  

RUST seems to be the language of choice for interacting with the blockchain.  So far I am not a fan of RUST but understand why it is needed.  I find RUST hard to read.  Whereas PHP, JavaScript, even C#, I can just look at a function and know what is going on.  

rust
phantom wallet

Phantom Wallet holds your crypto as well as your NFTs.  There is a great Github repo with a React module that makes integrating your wallet with your website nice and easy.  This will return your wallet ID which is what you will need to do your transactions or NFT transfers.  

React is awesome and I have many years of experience in it.  It is one of my favorite Javascript frameworks. You don’t have to use it and I see many projects using Vue or just straight TypeScript.  This aspect is up to you as if you ask me one is not better than the other and it’s just personal preference.  I just love it and find it easy to work with.

react
anchor

Anchor is great because it really brings things together.  It does the compilation for you and all you need to do is swap out some IDs and an IDL file.  There are many behind the scene tasks that need to be done and Anchor takes care of that for you making interacting with Solana not only easier but more secure.

Now depending on what blockchain you are interacting with this may differ for you.  This is what I have learned so far though on how to best interact with Solana.  I find it all very interesting and I see a lot of opportunities for this in the future which is why I am trying to learn it now.  I have only just started on this but I expect to write more articles on this in the future as there isn’t much out there for people like me yet due to it’s infancy.  Hopefully I can change that!  

Sharing is caring!
Share on facebook
Share on twitter
Share on linkedin
Share on reddit
Share on pinterest
Share on email
Share on print