Java to Solidity translator: is there a possibility to write smart contracts in Java?

542 views Asked by At

Is there a tool out there that can automatically convert Java to Solidity? And can we convert Java file to Solidity?

I found that there exists Jthereum that is in its beta version now. Is there a simpler and/or more robust tool to write smart contracts in Java or to translate Java code into Solidity code?

1

There are 1 answers

0
Mikko Ohtamaa On

Is there a tool out there that can automatically convert Java to Solidity? And can we convert Java file to Solidity?

In theory, you can even write smart contracts in Brainfuck. While both Solidity and Java are Turing complete languages, any such converted would not be meaningful.

While it is a theory in possible, the idea of translator works very badly in the context of smart contracts.