Skip to content

Example integrations built with the Clockwork SDK.

Notifications You must be signed in to change notification settings

thewuhxyz/examples

 
 

Repository files navigation

Clockwork examples

This repo contains example automated smart-contracts built with the Clockwork SDK.

  • 1. Hello Clockwork – Prints "Hello world" and the current timestamp every 10 seconds
  • 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.

About

Example integrations built with the Clockwork SDK.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 82.3%
  • TypeScript 15.5%
  • Shell 2.2%