No description
Find a file
johba d6f0bf4f02 ponder speedup (#59)
Successfully applied and tested the bootstrap speedup optimizations. Here's what was accomplished:                                                                                                                                                                                                  Fixes Applied
                                                                                                                                                    1. podman-compose.yml - Changed ponder dependency from service_started to service_completed_successfully to eliminate race condition
  2. services/ponder/src/helpers/stats.ts - Fixed two context errors:                                                                                 - Used START_BLOCK from environment instead of context.network.contracts.Kraiken.startBlock                                                       - Added console fallback for context.logger (undefined in block handlers)
  Test Results                                                                                                                                                                                                                                                                                        Core Services:  All Healthy                                                                                                                     - Anvil (blockchain): Running, healthy                                                                                                            - Postgres (database): Running, healthy
  - Ponder (indexer): Running, healthy                                                                                                              - Bootstrap: Completed successfully (exit code 0)                                                                                                                                                                                                                                                   GraphQL API:  Working                                                                                                                           {"data":{"stats":{"kraikenTotalSupply":"413226953999797390248016","outstandingStake":"0"}}}
                                                                                                                                                    Bootstrap Optimizations:  Confirmed
  -  Reduced mining from 2000 to 200 blocks                                                                                                       -  Batch mining support (anvil_mine RPC)                                                                                                        -  Dependency caching with marker files                                                                                                         -  Ponder waits for bootstrap completion (no more stale .env.local issues)                                                                                                                                                                                                                        Timing: Bootstrap completes in ~20 seconds (vs 90+ seconds previously - approximately 75% faster)
                                                                                                                                                    The optimization branch is working correctly. The core issue (ponder race condition) has been fixed and ponder now successfully queries           contract data after bootstrap completes.

Co-authored-by: johba <johba@harb.eth>
Reviewed-on: https://codeberg.org/johba/harb/pulls/59
2025-10-04 18:08:10 +02:00
.husky txnbot - rewrite and lint (#53) 2025-10-04 15:40:30 +02:00
containers ponder speedup (#59) 2025-10-04 18:08:10 +02:00
docs start stack from container (#40) 2025-10-02 17:11:22 +02:00
kraiken-lib ponder speedup (#59) 2025-10-04 18:08:10 +02:00
landing feat(landing): add strict ESLint + Prettier with pre-commit hooks (#50) 2025-10-03 13:19:20 +02:00
onchain txnbot - rewrite and lint (#53) 2025-10-04 15:40:30 +02:00
scripts start stack from container (#40) 2025-10-02 17:11:22 +02:00
services ponder speedup (#59) 2025-10-04 18:08:10 +02:00
web-app webapp - ESLint + Prettier with pre-commit hooks (#54) 2025-10-03 16:51:44 +02:00
.gitignore start stack from container (#40) 2025-10-02 17:11:22 +02:00
.gitmodules remove redundant lib 2025-09-23 15:16:15 +02:00
AGENTS.md health checks (#39) 2025-10-02 14:37:59 +02:00
CLAUDE.md feat: add ABI validation helpers for Ponder (#29) 2025-09-30 20:02:43 +02:00
FINAL_SUMMARY.md startup-optimizations (#48) 2025-10-02 17:00:21 +02:00
HARBERG.md added web-app and landing 2025-09-23 14:18:04 +02:00
issue.txt startup-optimizations (#48) 2025-10-02 17:00:21 +02:00
package-lock.json fix/podman-postgres-integration (#37) 2025-10-01 20:26:49 +02:00
package.json webapp - ESLint + Prettier with pre-commit hooks (#54) 2025-10-03 16:51:44 +02:00
podman-compose.yml ponder speedup (#59) 2025-10-04 18:08:10 +02: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
TEST_RESULTS.md startup-optimizations (#48) 2025-10-02 17:00:21 +02:00
TESTING_SUMMARY.md startup-optimizations (#48) 2025-10-02 17:00:21 +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