Rosetta Smart Contracts

A chrestomathy of smart contracts, including implementations of use cases in different smart contract languages.

Details on the comparison between different smart contract languages are available in the following research paper:

Use cases

  1. Bet
  2. Simple transfer
  3. Token transfer
  4. HTLC
  5. Escrow
  6. Auction
  7. Crowdfund
  8. Vault
  9. Vesting
  10. Storage
  11. Simple wallet
  12. Price Bet
  13. Payment splitter
  14. Lottery
  15. Constant-product AMM
  16. Upgradeable Proxy
  17. Factory
  18. Decentralized identity
  19. Editable NFT
  20. Anonymous Data
  21. Atomic Transactions

Included smart contract languages