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
  2. Threads

Authority

PreviousAddressNextFees

Last updated 2 years ago

Was this helpful?

On Solana, the “authority” property is often used by convention to refer to the user-space owner of a particular account. For Clockwork, a thread's authority is its creator – the account which signed the transaction to create the thread. A thread's authority has the following permissions:

  • Pause and resume the thread.

  • Update the thread’s trigger and instructions.

  • Withdraw from the thread’s balance.

  • Close the thread account.

An authority may be any valid public address (i.e. a wallet pubkey or PDA). When the authority is a PDA, we occasionally refer to this as a “program authority” since the account is managed by a program. If you are unfamiliar with PDAs, the Solana Cookbook has a on what they are and how to build secure programs with them.

great writeup
clockwork/thread.rs at 781b42fd06f2926899597ce5ea1f19b8ecd3d2e4 · clockwork-xyz/clockworkGitHub
authority: Pubkey
Logo