Skip to content

Template repository to kickstart an OpenZeppelin Defender autotask

License

Notifications You must be signed in to change notification settings

isabella232/defender-autotask-template

 
 

Repository files navigation

defender-autotask-template

Template repository to kickstart an OpenZeppelin Defender autotask

Development

Env

We use direnv to manage environment variables. You'll likely need to install it.

Copy .envrc.example and write down the env variables needed to run this project.

cp .envrc.example .envrc

Once your env variables are setup, load them with:

direnv allow

Autotask

Entrypoint for the autotask is located in src/handler.ts

Test

To test your autotask locally, run the command:

yarn start

Update

Once your task is properly working, you can push it to defender by running:

yarn update

Code quality

Prettier is used to format TypeScript code. Use it by running:

yarn format

About

Template repository to kickstart an OpenZeppelin Defender autotask

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%