Smart Contract Sample Code

Is there any sample code for smart contracts?
Would be great to see some examples of dapps that can be written in Move and deployed to Libra.

1 Like

Here are a few places to look for Move code:

  • The Getting Started With Move guide has example transaction scripts and an example module with some accompanying explanation.
  • Exploring Move IR has pointers to the Move modules that implement Libra coin and Libra accounts, the transaction scripts supported by testnet, and a grammar for Move IR.