DEV Community

kambala yashwanth
kambala yashwanth

Posted on

2

A Blockchain in JS ?

what are downsides building entire blockchain in JavaScript, security breaches?, cryptography?.
what about performance issues?

.......Thank you ......

Top comments (6)

Collapse
 
james_allardice profile image
James Allardice β€’

I wouldn't recommend it for a "real world" blockchain but it's great for learning purposes. You might enjoy my talk from DevConf Poland this year where I talked about exactly this topic: youtube.com/watch?v=mOjXlb7KZFk

Collapse
 
bgadrian profile image
Adrian B.G. β€’

Yes, all the above I guess.

JS is good for hackatons and apps on hyperledger though.

Collapse
 
yashwanth2804 profile image
kambala yashwanth β€’

Can we have core blockchain built with Js,i'm afraid not just apps.
sorry if i am interpreting your ans wrong

Collapse
 
bgadrian profile image
Adrian B.G. β€’

I'm sure you can find some experiments, but I would not build one in an interpreted language for all the above reasons.

Technically it can be done in any language.

Collapse
 
gratefulcheddar profile image
Tim Thomas β€’

Have you heard of bcoin? It’s bitcoin node software written in JS

Collapse
 
yashwanth2804 profile image
kambala yashwanth β€’

perfect match πŸŽ‰πŸŽ†