forked from koii-network/task-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-task.yml
More file actions
53 lines (38 loc) · 1.81 KB
/
Copy pathconfig-task.yml
File metadata and controls
53 lines (38 loc) · 1.81 KB
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
# Name and metadata of your task
task_name: 'task name'
author: 'Koii'
description: 'description'
repositoryUrl: 'https://github.com/koii-network/task-template' #replace with your own repo url
imageUrl: 'imageUrl'
# 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: 1500
audit_window: 350
submission_window: 350
# 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: 100
bounty_amount_per_round: 100
#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: 1
# 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: 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: ''
# Provide the description for changes made in new version of task
migrationDescription: ''