Skip to content

[WIP] Implement Slack-Integrated Cryptocurrency Task Funding Service#172

Draft
xLDVx wants to merge 11 commits into
HermanKoii:mainfrom
xLDVx:81af2262-181a-4f3a-ba8e-5d3e94999901-merged
Draft

[WIP] Implement Slack-Integrated Cryptocurrency Task Funding Service#172
xLDVx wants to merge 11 commits into
HermanKoii:mainfrom
xLDVx:81af2262-181a-4f3a-ba8e-5d3e94999901-merged

Conversation

@xLDVx
Copy link
Copy Markdown

@xLDVx xLDVx commented Jun 7, 2025

Implement Slack-Integrated Cryptocurrency Task Funding Service

Description

Summary of Work

This pull request introduces a Slack-integrated task funding service for the Koii network, enabling authorized users to fund cryptocurrency tasks directly through Slack commands.

Key Features:

  • Slack request verification with HMAC-SHA256 signature validation
  • Support for funding both standard and KPL (Koii Program Library) tasks
  • User authorization through a predefined user ID whitelist
  • Secure environment variable management
  • Error handling and response messaging via Slack webhooks

The service provides a secure, streamlined method for authorized team members to fund cryptocurrency tasks with minimal friction.

Changes Made

  1. Implemented Express.js server with /fundtask endpoint
  2. Added Slack request verification middleware
  3. Created task funding functions for different token types
  4. Integrated Koii network funding mechanisms
  5. Added user whitelist authentication
  6. Implemented error handling and Slack response notifications

Tests and Verification

  • Validated Slack request signature verification
  • Tested task funding with different token types
  • Checked user authorization logic
  • Verified error handling and response mechanisms
  • Ensured secure handling of environment variables

PRs Merged

The following pull requests have been merged:

Signatures

Staking Key

He88p8gayqrGSWqpj7Mu4XzqcKsURDjnuK1z2UMnio3A: MikFmFztd79Xti5tqD3iAxcGyznULbr5yRtccvN12bdJTjAMqBez5s5XviG1Cp2QBtwHJTSEk4wjig2j76ii9ZbuGjfdayUqEqDtWzMi6TThxpS7JBkkdDDnigu9qc7sAM5UR28jSWJgYEL77hudTjRvECJT7X6tYZDGEzjxmPzyLtGN51iTnEeLkUpb7L5aP54twTJ5yDdvV7syUqVFvoYDziDMBWgKfqjvPuLvSgzKBGWCUtojbm67Tb2QioDAeaJhj9xbziQZfq7R6f2dENp9rTjptuMPkFcTsJ8Fd7aKqRYusyM8YFELxW83AJwuKNzK223mCxCaaLNj9e5JjSgARbewmKW374P579oNqZVoGoMSV3YqLEKwuJUWHxqnnhdzBgXJjqnmHq8vocAkL1kUtxcEf6

Public Key

FVeknmSZKTCvd8fxFxt5T4mQgxED2QhYBZyexLyCrrB8: 4Fq3DGnHkkvvZ61oLHJuEprDnX7c6FckB9tN3qZyresJev8rhseWyvhnH53G488oLjvP8s5mCm8satJTV3LpAckCQ8Uf4FuU3YbC8ReHrzktRua9wX9G9NQmcGVWvxVqJ8JLE9mD2gAFk25tsf5kBXQx5ignRxnjQfKa9x8Tkg3ZD8P93XMns9q4XyN5dryPDBmgrTSz996SttswdqDL1jUCGcytMVZRrGRdej1KdJwvw2XPHeyqbkw1XsVYu6mDuqqDpzzDXHHryk2m9khFgDTrvKnybzEJG42LnW5L36FE7ZVnL9vEjumgkpL92wCYqhBJSQ4zijPxG9frTvSp1Cvjf9MxH3JS5gfzvg8VH9zEyDWHh8vtzSJQWPmyT1kqYaKdKy1rftphttXf5jR6iQcvoPXWDa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants