forked from koii-network/task-X
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-task.yml
66 lines (51 loc) · 3.32 KB
/
config-task.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Name and metadata of your task
task_name: '#koii Twitter Archive'
author: 'Soma'
description: 'We invite you to volunteer your spare Twitter account to help us archive the #koii hashtag. This initiative is a not-for-profit endeavor, sponsored by the Koii Foundation. Before participating, please ensure that your volunteer Twitter account has passed the verification process. Rewards are calculated based on the amount of time your node remains online. The longer you stay online, the greater the reward you will receive. The base bounty per round is 1000 KOII, which will be divided among users who have made submissions in the last round.'
repositoryUrl: 'https://github.com/koii-network/task-X'
imageUrl: 'https://bafybeienjq6idlhd7zwpdoqj2pdzjbomntfcg76dr5in5qeqkw2zczrrfi.ipfs.sphn.link/x-task.png'
# network value can be DEVELOPMENT , ARWEAVE or IPFS, Recommended IPFS when deploying to testnet as the cli automatically takes care of uploading the executable with the help of web3.js key
task_executable_network: 'IPFS'
# Path to your executable webpack if the selected network is IPFS and in case of DEVELOPMENT name it as main
task_audit_program: 'dist/main.js'
# Total round time of your task : it must be given in slots and each slot is roughly equal to 408ms
round_time: 4500
audit_window: 1600
submission_window: 1600
# Amounts in KOII
minimum_stake_amount: 1.9
# total_bounty_amount cannot be grater than bounty_amount_per_round
# total bounty is not accepted in case of update task
total_bounty_amount: 100000
bounty_amount_per_round: 1000
#Number of times allowed to re-submit the distribution list in case the distribution list is audited
allowed_failed_distributions: 3
#Space in MBs for the account size, that holds the task data
space: 5
# Note that the value field in RequirementTag is optional, so it is up to you to include it or not based on your use case.
# To add more global variables and task variables, please refer the type,value,description format shown below
requirementsTags:
- type: TASK_VARIABLE
value: 'TWITTER_USERNAME'
description: 'The username of your volunteer Twitter account. Please ensure your volunteer Twitter account has passed the Twitter verification process.'
- type: TASK_VARIABLE
value: 'TWITTER_PASSWORD'
description: 'The password of your volunteer Twitter account.'
- type: TASK_VARIABLE
value: 'TWITTER_PHONE'
description: 'If verification is required, will use your phone number to login.'
- type: TASK_VARIABLE
value: "Spheron_Storage"
description: "Used to store the data. Spheron offers secure, decentralized data storage using blockchain technology for enhanced reliability and transparent data management. Do not have the key? Click the Get Key button to get one."
retrievalInfo: "https://faucet-api.koii.network/api/get-spheron-storage-key;GET;SYSTEM_WALLET_PUBLIC_KEY"
- type: CPU
value: '4-core'
- type: RAM
value: '5 GB'
- type: STORAGE
value: '5 GB'
# OPTIONAL variables variables for creating task / REQUIRED variables for update task
# OPTIONAL Only provide the taskId if you are updating the task otherwise leave blank
task_id: 'AMhgzAtX2rkVdKTWdbdTkrpJtLxHhSWp2GYehPLP9kqE'
# Provide the description for changes made in new version of task
migrationDescription: 'Release new version of the Twitter Crawler task. Fix wrong submission value issue.'