In my opinion learning how to develop a Smart Contract for Terra is hard due to lack of examples, so I decided to share some of my works.
All the code in this repository is NOT AUDITED, use it at your own risk.
If you'd like to collaborate with me feel free to ping me in the Terra Discord @7183
Usefull link:
This repository contains the following examples
deposit
a simple SC where you can deposit and withdraw USTsend
a simple SC that send UST to another addressstaking
a simple SC that stake Luna (TODO)interact
a simple SC that interact with another Smart Contractanchor
a simple SC that deposit and withdraw into Anchor Protocolswap
a simple SC that swap cw20 tokens (TODO)governance
a simple SC for governance on cw20 (TODO)