Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phuture-finance/phuture-keeper-scripts
https://github.com/phuture-finance/phuture-keeper-scripts
ethereum
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/phuture-finance/phuture-keeper-scripts
- Owner: Phuture-Finance
- License: mit
- Created: 2022-10-20T10:50:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-06T12:13:53.000Z (5 months ago)
- Last Synced: 2024-11-09T02:37:18.553Z (2 months ago)
- Topics: ethereum
- Language: TypeScript
- Size: 147 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Phuture Keeper Script
This repository enables keepers of the Keep3r Network to execute Phuture's jobs on Ethereum.
## How to run
1. Clone the repository
```
git clone https://github.com/Phuture-Finance/keeper-scripts
```2. Install dependencies
```
yarn install
```3. Create and complete the `.env` file using `env.example` as an example
4. Fine-tune the constants in `src/constants.ts` to your liking. Read [the docs](https://docs.keep3r.network/keeper-scripts) for a technical in-depth explanation.
5. Try out the scripts
```
yarn start:order
yarn start:deposit-manager
```## Run in production
1. Build the typescript into javascript
```
yarn build
```2. Run the job directly from javascript (using [PM2](https://github.com/Unitech/pm2) is highly recommended)
```
node dist/order-job.js
node dist/deposit-manager-job.js
```## Keeper Requirements
- Must be a valid (activated) Keeper on [Keep3r V2](https://etherscan.io/address/0xeb02addCfD8B773A5FFA6B9d1FE99c566f8c44CC)
## Useful Links
- [Order Job](https://etherscan.io/address/0x656027367B5e27dC21984B546e64dC24dBFaA187)
- [Deposit Manager Job](https://etherscan.io/address/0xa61d82a9127B1c1a34Ce03879A068Af5b786C835)