antegen-cron

Crates.ioantegen-cron
lib.rsantegen-cron
version4.0.0
created_at2025-12-14 18:55:16.219119+00
updated_at2025-12-18 20:22:34.204514+00
descriptionA cron expression parser that's safe to use in the Solana runtime
homepagehttps://antegen.xyz/
repositoryhttps://github.com/wuwei-labs/antegen
max_upload_size
id1984928
size74,481
Anthony Anderson (anthonyra)

documentation

https://docs.antegen.xyz/

README


icon: home order: 100

Welcome

Solana automation engine

build status    Discord Chat    License

Why was this fork created?

Antegen is a hard fork from Clockwork at commit 44d2038. This was done to continue the development of the protocol in an Open Source environment. The rebranding from Clockwork to Antegen became necessary due to limitations in accessing and updating the crates.io packages and on-chain programs.

Fork Details

Antegen maintains the core protocol design from Clockwork while modernizing the codebase for compatibility with the latest Solana ecosystem dependencies. This includes support for:

  • Anchor 0.31.0 and above
  • Solana 2.1.21 (Agave) and above
  • Latest ecosystem dependencies and standards
  • Modern development tooling

This open-source development path enables:

  • Community-driven improvements
  • Rapid security patches
  • Continuous dependency updates
  • Enhanced protocol stability

Opinionated Changes

  • Removed Clockwork ThreadV1 program
  • Removed Clockwork Webhook program
  • Updated Clockwork ThreadV2 to Antegen ThreadV1

Alternatives

There's been work on a truly open source version of Clockwork via the Open Clockwork project. Which appears to take the approach of carrying the torch from where the original project left off ensure backwards compatibility.

[!NOTE] Antegen is now under active development as its own project. While it shares historical roots with Clockwork, all interfaces and implementations are subject to change as the project evolves to meet its unique objectives.

Deployments

Program Address Devnet Mainnet
Network AgNet6qmh75bjFULcS9RQijUoWwkCtSiSwXM1K3Ujn6Z
Thread v1 AgThdyi1P5RkVeZD2rQahTvs8HePJoGFFxKtvok5s2J1

SDKs

Language Description Lib Examples
Anchor Anchor bindings for Solana programs. crates.io
Rust Rust bindings for clients. crates.io
Typescript Typescript bindings for clients and frontends.

Local Development


1. Install Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

2. Install Solana CLI

sh -c "$(curl -sSfL https://release.anza.xyz/v2.1.6/install)"

3. Install Anchor (avm)

cargo install --git https://github.com/coral-xyz/anchor avm --locked --force
avm install latest

4. Install antegen-cli

If you are on linux, you might need to run this:

sudo apt-get update && sudo apt-get upgrade && sudo apt-get install -y pkg-config build-essential libudev-dev libssl-dev

Install with cargo:

cargo build --workspace
cargo install --path cli

5. Anchor Build

https://solana.stackexchange.com/questions/17777/unexpected-cfg-condition-value-solana

anchor build

6. Run a localnet node

antegen localnet --dev

7. Stream program logs

tail -f validator.log
solana logs
Commit count: 103

cargo fmt