{"id":29089673,"url":"https://github.com/openzeppelin/defender-autotask-examples","last_synced_at":"2025-06-28T04:04:25.983Z","repository":{"id":49089663,"uuid":"310136802","full_name":"OpenZeppelin/defender-autotask-examples","owner":"OpenZeppelin","description":"Example snippets for Defender Autotasks","archived":false,"fork":false,"pushed_at":"2021-06-29T11:02:45.000Z","size":421,"stargazers_count":43,"open_issues_count":2,"forks_count":30,"subscribers_count":16,"default_branch":"master","last_synced_at":"2023-04-09T18:37:56.739Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenZeppelin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-04T22:58:35.000Z","updated_at":"2023-04-09T18:37:56.740Z","dependencies_parsed_at":"2022-09-25T13:01:38.180Z","dependency_job_id":null,"html_url":"https://github.com/OpenZeppelin/defender-autotask-examples","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/OpenZeppelin/defender-autotask-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenZeppelin%2Fdefender-autotask-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenZeppelin%2Fdefender-autotask-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenZeppelin%2Fdefender-autotask-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenZeppelin%2Fdefender-autotask-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenZeppelin","download_url":"https://codeload.github.com/OpenZeppelin/defender-autotask-examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenZeppelin%2Fdefender-autotask-examples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262371684,"owners_count":23300595,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-28T04:04:22.199Z","updated_at":"2025-06-28T04:04:25.962Z","avatar_url":"https://github.com/OpenZeppelin.png","language":"JavaScript","readme":"# Defender Autotask Examples\n\nThis repository contains sample code snippets for [Defender Autotasks](https://docs.openzeppelin.com/defender/autotasks). Follow the instructions in each folder for more info on how to use them.\n\n**Disclaimer**: The scripts in this repository have not been audited. Please file an issue if you stumble upon any mistake.\n\n- The [`relay`](relay) folder contains detailed examples on how to use the `defender-relay-client` package from an Autotask, both standalone and integrated with `ethers.js`, including local development and unit testing.\n- The [`typescript`](typescript) folder shows how to write an autotask in typescript, and use `tsc` to compile it to javascript that can be run within Defender.\n- The [`rollup`](rollup) folder includes a more complex example, that generates a bundle that incorporates additional dependencies not available in the Autotasks runtime, and embeds contract ABIs in the generated output.\n- The [`webpack`](webpack) folder is similar to the previous one, bundling dependencies and ABIs into a single file, but uses webpack as a code bundler instead of rollup.\n- The [`keep3rs`](keep3rs) folder contains autotasks to execute jobs as a keeper within the [Keep3r Network](https://keep3r.network/), along with their respective unit tests.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenzeppelin%2Fdefender-autotask-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenzeppelin%2Fdefender-autotask-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenzeppelin%2Fdefender-autotask-examples/lists"}