CashScript has had an open docs request since 2024 for a page aimed at developers coming from Solidity (issue #237 in the CashScript repo). I wrote a draft:
https://cashscript-for-solidity.surge.sh
It covers:
- a side-by-side table (accounts vs UTXOs, msg.sender vs checkSig, storage vs NFT-commitment state, gas vs VM limits, deployment, events, tokens, reentrancy, time)
- a counter contract in both languages, to show “the function updates state” vs “the transaction proposes a state and the contract verifies it”
- authorization, transfers as outputs, concurrency, and a short checklist for EVM devs
All CashScript examples compile with cashc 0.14.0. It’s CC0, so the CashScript team can merge any part of it.
Corrections are very welcome, especially from people who have moved from EVM to CashScript: what tripped you up that isn’t on the page?