LogoLogo
GithubDiscordTwitter
  • Welcome
    • What is Clockwork?
    • Quickstart
    • Installation
  • Guides
    • 1. Scheduling an SPL transfer
    • 2. Auto-incrementing counter
  • Reference
    • Threads
      • Account
      • Address
      • Authority
      • Fees
      • Payers
      • Triggers
    • Localnet
    • SDK
    • Support
  • Node operators
    • Deploy a worker
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Reference

Threads

Threads are an automation primitive for Solana developers. Just as traditional applications use threads to execute instructions on a computer, smart-contracts can use Clockwork threads to execute a series of instructions on Solana. To create a thread, developers must provided two critical pieces of information:

  1. A trigger – Some scenario or condition that will gate execution and can verified by a smart-contract.

  2. A set of instructions – These are instructions that will be executed. They can be either statically defined or built dynamically at runtime.

Previous2. Auto-incrementing counterNextAccount

Last updated 1 year ago

Was this helpful?