Skip to content

Instantly share code, notes, and snippets.

View al-maisan's full-sized avatar

Muharem Hrnjadovic al-maisan

View GitHub Profile
@al-maisan
al-maisan / dca-as-a-service-cost.md
Created December 25, 2025 08:38
DCA as a service - cost estimates

DCA-as-a-Service estimates (backend build + AWS operating cost)

This file contains two estimates based on the high level design


1) Build effort estimate (backend + AWS deployment via Terraform)

What "backend" includes

  • Executor / reliability worker
@al-maisan
al-maisan / shodown-estimates.md
Last active December 25, 2025 08:19
shodown estimates

Assumptions: DAU (Daily Active Users) = 20% and WebSockets

Based on the design overview, the backend scope is basically:

  • onboarding/linking: masterAddress, subAccountAddress, tradingWalletAddress, startEquity
  • order relay: verify signature.vaultAddress + signer, apply competition/risk rules, forward to Hyperliquid
  • state + leaderboard: ingest Hyperliquid subaccount state (poll or stream), compute PnL/PnL%/volume, persist + serve leaderboard

@al-maisan
al-maisan / dca-as-a-service.md
Created December 17, 2025 06:20
DCA as a service

DCA-as-a-Service on Solana (Non-Custodial) — Proposal

Goals

  • Let users create recurring buy campaigns (DCA) without sharing private keys or giving up custody.
  • Execute swaps via Jupiter across top Solana liquidity venues.
  • Keep backend minimal while ensuring reliability via monitoring + retries.

Key Assumptions

@al-maisan
al-maisan / kommentare.txt
Created December 11, 2025 20:58
IDPA Kommentare
Kommentare:
-----------------------
Bitcoin als etablierte Anlageform
s/etablierte/alternative/
-----------------------
2. Philosophische Gründe – Bitcoin soll ohne zentrale Instanz funktionieren. Ein öffentlich be-
kannter Gründer könnte ungewollte Autorität über das Projekt erhalten.
@al-maisan
al-maisan / shodown-hl-design.md
Last active December 8, 2025 08:46
shodown design sketch (based on hyperliquid)

Please note:

  • shodown is called “Project X” below :-)
  • we can have a single trading wallet per user (in order to reduce friction)

Project X – How Hyperliquid Accounts & Trading Wallets Work (for Competitions)

1. Core Concepts

This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://docs.keyoxide.org/advanced/openpgp-proofs/
[Verifying my OpenPGP key: openpgp4fpr:753B6ECF2B458FF3D19D568C1E0A288397AE739E]
" A sensible vimrc for Go development
"
" Please note that the following settings are some default that I used
" for years. However it might be not the case for you (and your
" environment). I highly encourage to change/adapt the vimrc to your own
" needs. Think of a vimrc as a garden that needs to be maintained and fostered
" throughout years. Keep it clean and useful - Fatih Arslan
call plug#begin()
Plug 'fatih/vim-go'
liam_i0() {
mysql --protocol=tcp -h localhost -P 13306 -u liamu -pliamu liam -e "UPDATE users SET status='created', acode='SIBEX rockz\!\!' WHERE email='admin@sibex.io'"
}
liam_i1() {
curl -v -F 'acode=SIBEX rockz!!' -F "email=admin@sibex.io" http://localhost:3340/liam/v1/users/activate | jq
}
liam_usrs() {
curl -b /tmp/cookies -v -G http://localhost:3340/liam/v1/users -H "accept: application/json" | jq
@al-maisan
al-maisan / alias.sh
Last active June 28, 2018 15:54
bash function to edit files with a time stamp
vdt() {
fname=${1:-gist.txt}
bname=`basename $fname`
ext=${bname#*.}
pfix=${fname%%.*}
gvim "${pfix}-`date +'%Y-%m-%d_%H-%M'`.${ext}"
}
Verifying that "al_maisan.id" is my Blockstack ID. https://explorer.blockstack.org/name/al_maisan.id