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? Commented 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. Commented Mar 20, 2021 at 8:42

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.