Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/supernovahs/hello-avs-fleek
https://github.com/supernovahs/hello-avs-fleek
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/supernovahs/hello-avs-fleek
- Owner: supernovahs
- Created: 2024-07-04T15:13:51.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-07T18:34:53.000Z (6 months ago)
- Last Synced: 2024-10-29T17:56:33.372Z (2 months ago)
- Language: JavaScript
- Size: 4.11 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hello AVS Fleek
This template runs AVS (Actively Validated Services) using the Fleek network.
We deploy individual functions of the [hello-world AVS](https://github.com/Layr-Labs/hello-world-avs)
- [create_new_task.js](./src/create_new_task.js)
- [register_operator.js](./src/register_operator.js)
- [sign_and_respond_to_task.js](./src/sign_and_respond_to_task.js).We then aggregate all the deployed URLs above and call them in [avs.js](./src/avs.js) in a manner that works similarly to a normal hello-world AVS.
![IMG_6BDE16467E1B-1](https://github.com/supernovahs/hello-avs-fleek/assets/22412996/e2bf539c-b8e7-4e87-b956-857eb02af0a0)
# Steps to Deploy Your own AVS to Fleek
- npm install -g @fleek-platform/cli
- fleek login
- fleek projects switch --id={projectId}
- Modify Your register operator, sign_and_respond_to_task
- To Build run `npm run build`
- To register name run `npm run create_register_operator_name` or `npm run create_sign_and_respond_to_task_name`
- To deplopy to fleek run
`npm run deploy_register_operator_to_fleek`
and
`npm run deploy_sign_and_respond_to_task_to_fleek`