NEWTON
Asked
4 months ago
8
views
0
What are advantages of Cairo (vs Solidity) for Starknet?
ㅤ This question was originally posted on Triality
0
Solidity is not an ideal language for provable computation and the ZKRollups use provable computation to prove that a transaction has been executed without re-running. This is a much more computationally efficient operation than the current solution on the Ethereum network that reruns transactions on every node.
Cairo has the following properties and more that make it a more ideal language for STARKs than Solidity:
However, Solidity is extremely well maintained and much easier to learn than Cairo, but what is the fun in that? Just something to keep in mind.
ㅤ This answer was originally posted on Triality
answered
4 months ago
0
I think from a native point of view, cairo's zkEVM can do more than EVM, and you can even run machine learning models. But the learning curve is too steep, and the coding is very difficult
ㅤ This answer was originally posted on Triality
answered
4 months ago
How can I use meta-class of contract (starknetjs) for interaction?
Cairo Error: Getting Error while setting value of item in array
why does keccak256 replace sha256 in warp?
How to generate a proof for a Cairo program and verify it?
Does cairo have payable functions?
What are events in Cairo Language?
What are multi-calls in Account Abstraction? What will it bring to the UX?