Configuration

Depending on the types of tasks you are developing, you may require custom configuration of the docker container. There will be an environment variable file which will allow you to pass any required custom variables to the docker task node.

Environment Variables Explanation:

Copy the .env.example file to .env and review your configuration

# Node Mode
NODE_MODE="service"
# The nodes address
SERVICE_URL="http://localhost:8887"
# The address of the main trusted node
TRUSTED_SERVICE_URL="none"
# Location of K2 node
K2_NODE_URL="http://localhost:8899"
# Amounts to stake
ATTENTION_STAKE=400
MOBILE_STAKE=400
# Selected task
TASKS="Attention22222222222222222222222222222222222"
# Connection info for redis
REDIS_IP="localhost"
REDIS_PORT=6379
REDIS_PASSWORD=""
ENVIRONMENT="development"
# Location of main wallet
WALLET_LOCATION="test_wallet_keypair.json"
# Default Program Ids
DATA_UPLOAD_PROGRAM_ID="wUHjGXySjmTT7iHF19UJe7ya18M5b4D6dyoCuRvdYaJ"
TASK_CONTRACT_ID=Koiitask22222222222222222222222222222222222

Last updated