Authority
Last updated
Last updated
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 great writeup on what they are and how to build secure programs with them.