This repo contains example automated smart-contracts built with the Clockwork SDK.
- 0. Quickstart Sol Transfer (Typescript) – Executes an SOL transfer on a user-defined schedule.
- 1. SPL Transfer (Typescript) – Executes an SPL token transfer on a user-defined schedule.
- 2. Counter – Creates a thread via CPI that increments a counter every 10 seconds
- Recurring payments – Executes an SPL token transfer on a user-defined schedule.
- Token distributor – Mints a new token and sends it to a target user every 60 seconds.
- Dollar cost averaging – Executes a swap on Serum on a user-defined schedule.
- Serum crank – Indefinitely processes open orders on a permissioned Serum market.
- Subscriptions – Allow users to subscribe to subscriptions by paying on a recurrent schedule.