Cron task daemon, enables individuals to participate in the cron service network
This repo has been archived, because the croncat CLI will be made in js allowing users a browser based experience in addition to docker. This repo is for reference only.
-
- Clone
git clone [email protected]:Cron-Near/crond.git
- Clone
-
- Change directory:
cd crond
- Change directory:
-
- Start the daemon:
cargo run
- Start the daemon:
If you have a reliable server, ready to run a docker instance with less than 0.1% downtime, you are elligible for earning revenue by executing cron tasks.
- docker pull cron-near/task-manager
- docker up -d
- near call
NOTE:S
- docker needs to hold a small amount of NEAR to pay for signing txns
- docker needs to view/poll from the contract to check if new task
- docker needs to trigger the cron contract to trigger registered task contract
- docker initially registers with its node account id (the one making the payment), public key of node, beneficiary account id (for rewards upon success of task)
NOTE NOTE:
- Rewards: MVP will return immediately in the callback, could we do batching of rewards to take less fees overall?
- Run:
make docs
- OR:
make docs-view
to open locally in the browser
- OR: