DEV Community

KOLA
KOLA

Posted on

Node.js for Blockchain Development

Hi there, I'm a graduating college student.
A startup company (with potential) offered me a job as a blockchain developer.

Is Nodejs a good option for blockchain development? What's the pros and cons? is it advisable?

I've been working with Javascript for almost 5years now.

Thank you in advance!

Discussion (8)

Collapse
_firelinks profile image
Mike Dabydeen

Node.js is a great for building web applications both server-side and front-end, but it will only get you so far in the blockchain world.

Most of tools required to build the ecosystem around a blockchain/Web3 based application will likely requires Node.js, so it's definitely a good skill to have.

If you would like to get serious about blockchain development (assuming you are referring to Ethereum and other VM based blockchains), you should also try to learn Solidity or Vyper (vyper.readthedocs.io/en/stable/). This will assist in development of smart contracts which is another great skill to have.

Collapse
chulocr8v profile image
Nkematu Bonaventure

Hello Mike.

I am currently working with React.js and plan to advance into nodejs by by 2022.

Now, I have picked deep interest in web3 and blockchain development.

Can I ignore nodejs and dive into solidity straight? What do you think?

Thanks for your reply

Collapse
_firelinks profile image
Mike Dabydeen

Hey @Nkematu,

That is fantastic news, and I wish you all the best on your new journey.

I don't think you can ignore Node.js, since a lot of the tooling that is available today to support Solidity development runs on Node.js.

You certainly don't need to be a Node.js expert in order to use these tools. Most of them have great documentation and there is a lot of support available online for you to look at.

The order in which you learn them is totally up to you, there's no dependency for you to learn one over the other first. However, if you are going to use some of tooling like, Truffle.js or Hardhat.js you'll probably need to know some basic Node.js.

Hope this helps!

Thread Thread
chulocr8v profile image
Nkematu Bonaventure

Great. Thanks for your response. Really appreciate

Collapse
kolanotkola profile image
KOLA Author

Hi there,
Should stick to Nodejs and learn solidity for Eth based projects?
Thank you so much your comment means a lot to me.

Collapse
_firelinks profile image
Mike Dabydeen

Yes!

If you are interested in learning more about blockchain development, my advice would be to jump right in and start building a project.

The folks at FreeCodeCamp & DappUniversity created a great introductory tutorial video on how to get started building your first blockchain application.

You will learn a lot about modules which require Node.js like:

You will also learn about Solidity, building & deploying smart contracts to the Ethereum network and much more.

This is a great introduction to the blockchain ecosystem if you're a beginner.

Good luck on your journey!

Thread Thread
kolanotkola profile image
KOLA Author

Thank you so much!

Collapse
akashsenta profile image
Akash Senta

Hello there,
Mike has very detailed explanation. Thanks @_firelinks
in addition to that i would like to mention few resources to start with web3 and blockchain

You can learn Hardhat and it has very good integration with mocha, chai and JS.

lastly you can find all resources on useweb3.xyz/

Happy Learning..