No description
Find a file
johba 26a8771848 Extract snatch selection into reusable composable (#30)
## Summary

  - add a useSnatchSelection composable that centralises snatch shortfall calculations, position filtering, and RPC memoisation
  - refactor StakeHolder.vue to consume the composable instead of reimplementing the flow inline
  - introduce Vitest config and first composable tests (useSnatchSelection.spec.ts) to cover empty/partial fills and ownership edge cases
  - wire up project tooling updates so the new tests run (jsdom dep, updated package metadata)

  ## Testing

  - cd web-app && npm install
  - npm test

resolves #24

Co-authored-by: openhands <openhands@all-hands.dev>
Reviewed-on: https://codeberg.org/johba/harb/pulls/30
2025-09-30 20:35:47 +02:00
containers feat: Complete Podman stack setup with working services 2025-09-24 12:12:54 +00:00
docs podman wip 2025-09-24 12:12:54 +00:00
kraiken-lib feat: add ABI validation helpers for Ponder (#29) 2025-09-30 20:02:43 +02:00
landing fix agent 2025-09-24 09:57:20 +02:00
onchain feat: add ABI validation helpers for Ponder (#29) 2025-09-30 20:02:43 +02:00
scripts fix web-app 2025-09-24 14:02:28 +02:00
services feat: add ABI validation helpers for Ponder (#29) 2025-09-30 20:02:43 +02:00
web-app Extract snatch selection into reusable composable (#30) 2025-09-30 20:35:47 +02:00
.gitignore better backend comms 2025-09-24 09:41:28 +02:00
.gitmodules remove redundant lib 2025-09-23 15:16:15 +02:00
AGENTS.md fix agent 2025-09-24 09:57:20 +02:00
CLAUDE.md feat: add ABI validation helpers for Ponder (#29) 2025-09-30 20:02:43 +02:00
HARBERG.md added web-app and landing 2025-09-23 14:18:04 +02:00
package-lock.json chore: Add dependencies and configs for Podman setup 2025-09-24 12:12:54 +00:00
package.json chore: Add dependencies and configs for Podman setup 2025-09-24 12:12:54 +00:00
podman-compose.yml feat: Complete Podman stack setup with working services 2025-09-24 12:12:54 +00:00
README.md Update README.md 2025-09-22 15:38:29 +02:00
TECHNICAL_APPENDIX.md fix agent 2025-09-24 09:57:20 +02:00

$HRB is a gig to become successful in DeFi. It is a protocol that implements the fairest ponzi in the world.

This repository structures our approach and manages our collaboration to achieve this goal.

Project Milestones

The fairest ponzi in the world will be launched in 3 stages, each representing a more advanced version of the previous one.

  1. Harberg - a staking market and an speculative laverage platform.
  2. KrAIken - Harberg, but token issuance is governed by an automated liquidity manager.
  3. SoverAIgns - KrAIKen, but the liquidity manager is augmented by AI and deliveres outlandish performance

Project Values and Organization

  • the core value and mantra of the project is: ship, ship, 🚢
  • delivery is valued highest and goes over quality or communication
  • if you see work, do it. most likely every-one but you will lose interest in the project, and you will deliver it by yourself. work this way, take responsibility for everything. document everything methodically in this repository, use .md files, commits, issues(feature request, support issue), and pull requests. if other people still follow this repository collaboration will emerge, and duplication of work will be avoided automatically.
  • no structured communication outside of this repository is relevant for the success, nor will it be rewarded.

open questions

  • multisig? keyholders?
  • payout, shares?

Revenue Sources

  • the tax paid by the stakers will be forwarded to the multisig
  • the liquidity manager contract will collect all liquidity fees and forward them to the multisig
  • at launch of each stage of the project the keyholders will invest a share of the multisig holdings and coordinate to sell at a favorable time. all profits from all sales are the multisigs profits.

Timeline

it would be great if we can launch stage 1 or even 2 for DevCon.

Kick-off Call Harberg

Agenda