Deploy a worker
1. Download the geyser plugin
curl -s https://api.github.com/repos/clockwork-xyz/clockwork/releases/latest | grep "clockwork-geyser-plugin-release-x86_64-unknown-linux-gnu.tar" | cut -d : -f 2,3 | tr -d \" | wget -qi -
tar -xjvf clockwork-geyser-plugin-release-x86_64-unknown-linux-gnu.tar.bz2
rm clockwork-geyser-plugin-release-x86_64-unknown-linux-gnu.tar.bz22. Create a keypair
solana-keygen new -o clockwork-worker-keypair.jsonsolana balance $(solana address -k clockwork-worker-keypair.json)3. Get a worker ID
clockwork worker create clockwork-worker-keypair.json4. Configure your node
5. Restart your validator
Last updated