1

I am aware that there are libraries that let you build dapps on ethereum. What are the pros and cons of using javascript over solidity for dapps. I know this might sound like a partly subjective question but sometime that is what you need to give you perspective.

1 Answer 1

2

You need both.

You use Solidity for the contract, or Vyper less commonly.

You also usually need front-end and possibly server interactions. Those are usually but not necessarily JavaScript.

Hope it helps.

2
  • I understand i need javascript. I understand the basics of coding. I develop web apps. What I do not understand is this. That article says you can use javascript. Does it just use libraries that talk with solidity code? And Do you loose any functionality by using javascript?
    – YulePale
    Mar 20, 2021 at 8:31
  • 1
    Actually I think I understand now. They are libraries(the javascript part) that help with interacting with the ethereum blockchain. Thank you.
    – YulePale
    Mar 20, 2021 at 8:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.