Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pooltogether/pods-v3-autotask

Autotask to batch deposit the current pods float amount into the prize pool
https://github.com/pooltogether/pods-v3-autotask

Last synced: about 2 months ago
JSON representation

Autotask to batch deposit the current pods float amount into the prize pool

Awesome Lists containing this project

README

        

# pods-v3-autotask
OpenZeppelin Defender autotask to batch deposit the current pods float amount into the prize pool

## Development

### Env

We use [direnv](https://direnv.net) 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](https://prettier.io) is used to format TypeScript code. Use it by running:

```
yarn format
```