-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-task.yml
More file actions
83 lines (62 loc) · 3.35 KB
/
config-task.yml
File metadata and controls
83 lines (62 loc) · 3.35 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Task Name: (Required)
task_name: 'Task Name'
# Task Author: (Required)
author: 'Koii'
# Task Description: (Task Description or Task Description Markdown is Required)
description: 'Task Description'
# Task Description Markdown: (Task Description or Task Description Markdown is Required)
# By filling in this field, we will use your markdown file as the task description.
markdownDescriptionPath: # "./example.md"
# Repository URL: (Required)
repositoryUrl: 'https://github.com/koii-network/task-template'
# Image URL: (Required) Will be displayed in desktop node
imageUrl: 'imageUrl'
# Info URL: (Optional) Will be displayed in desktop node
infoUrl: 'infoUrl'
# Ocean Link: (Optional) Koii Ocean Project Link Page, apply to join Koii Ocean here! https://www.koii.network/ocean
koiiOceanUrl: 'koiiOceanUrl'
# Task executable network: (Required | DEVELOPMENT, ARWEAVE, or IPFS) : IPFS is the default and common value
task_executable_network: 'IPFS'
# Task audit program: (Required) IPFS: Path to your executable | DEVELOPMENT: Leave it as 'main'
task_audit_program: 'dist/main.js'
# Round time: (Required) Duration of task, measured in slots (with each slot approximately equal to 408ms).
round_time: 1500
# Audit window: (Required) The audit window should be greater than 1/3 of the round time.
audit_window: 350
# Submission window: (Required) The submission window should be greater than 1/3 of the round time.
submission_window: 350
# Minimum stake amount: (Required) The minimum amount of KOII that a user must stake in order to participate in the task.
minimum_stake_amount: 1.9
# Task Bounty Type: (Required | KOII or KPL)
task_type: 'KPL'
# Token Mint Address: (ONLY task_type == KPL) Fire Token as an example here.
token_type: "4qayyw53kWz6GzypcejjT1cvwMXS1qYLSMQRE8se3gTv"
# Total bounty amount: (Required) The total bounty amount that will be distributed to the task. (Not accepted in case of update task).
total_bounty_amount: 10
# Bounty amount per round: (Required) Every round's maximum distribution, you can decide the logics in your task.
bounty_amount_per_round: 0.1
# Allowed failed distributions: (Required) Number of times re-submission is allowed for the distribution list in case of an audit, it is also the rounds of submission it will keep.
allowed_failed_distributions: 3
# Space: (Required) Expected Task Data Size in MBs for the account size.
# Minimum: 1 for production, 0.1 for testing; Calculation Details: https://www.koii.network/docs/develop/command-line-tool/create-task-cli/create-task#space
space: 0.1
# Requirement Tags: (Optional): To add more global variables and task variables, please refer to the type, value, description format shown below.
requirementsTags:
- type: CPU
value: '4-core'
- type: RAM
value: '5 GB'
- type: STORAGE
value: '5 GB'
- type: TASK_VARIABLE
value: 'RANDOM WORDS'
description: 'RANDOM ONES'
# Tags: You can select the tags here via https://www.koii.network/docs/develop/command-line-tool/create-task-cli/create-task#tags
tags: ["AI", "ML"]
# Environment: (Required | TEST or PRODUCTION) Production mode will expose your task to all the task runners.
environment: "TEST"
#################################### BELOW IS FOR UPDATE TASK ONLY ####################################
# Old Task ID: (ONLY for task update)
task_id: ''
# Migration Description: (ONLY for task update)
migrationDescription: ''