Commit Graph
11 Commits
Author SHA1 Message Date
Filip Pajic a3cab864c4 feat: Predeposit, dynamic APY calculations (#18)
* rest service created

* token price fetching service

* add linea mainnet and ethereum mainnet to supported chains

* readonly mode for sc service

* provider caching inside rpc service

* add status predeposit vault contract service

* update apy calculation logic

* add new admin predeposit vault functions

* add chain id to admin response

* update default end date seed
2025-12-13 00:33:02 +01:00
Filip Pajic 9123e3afa6 feat: Predeposit vault data (#17)
* add predeposit routes

* add predeposit vault table

* create predeposit vault model

* get predeposit vaults endpoint

* added vault apy updating admin route

* lint fixes

* add openapi docs

* add openapi docs

* add db:seed as part of docker entrypoint
2025-12-03 20:46:43 +01:00
Filip Pajic 9ec6b26315 feat: Initial karma distributor (#16)
* pascal case naming fix

* move to simpler single signer setup

* added typechain to the project

* remove extra abi

* created smart contract service base

* created the Simple Karma distributor service

* lint config update to account for typechain

* lint fixes

* add interaction with the OnboardingKarma contract to sybil/pow route
2025-11-11 15:28:21 +01:00
Filip Pajic 05ee62f897 feat: RPC interaction and PK Management (#15)
* add new env variables

* create new RPC proxy util

* lint fixes

* update authorization header function

* added etherjs

* rpc service created

* private key management

* lint fixes
2025-11-10 21:21:05 +01:00
Filip Pajic 7ce7a8fb2d feat: Captcha by Cap support (#9)
* add cap captcha to the project

* create new captcha related table migrations

* created CaptchaChallenge.model.ts

* created CaptchaToken.model.ts

* Captcha services and Cap integration

* update migrations to include timestamp fields

* use BIGINT for expires fields

* Cap captcha route created

* parameterize captcha difficulty

* openapi docs for /captcha endpoints

* linting fixes
2025-11-03 20:57:10 +01:00
Filip Pajic c94ef5f9a1 feat: Sign in with Ethereum wallet authentication (#6)
* create the user table in the db

* create the user service

* create the auth routes

* implement passport strategy for Wallet sign-in

* linting fixes

* ensure consistent address value

* update branch name in workflow
2025-10-15 15:12:03 +02:00
Filip Pajic 8869d047f2 feat: Dockerize the project (#5)
* added docker to the project

* update readme for docker setup guide
2025-09-24 10:43:58 +02:00
Filip Pajic c1f7af9862 feat: Swagger integration (#4)
* Add postman collection file

* Add open api file

* Use json format for OpenAPI collection

* add swagger ui route

* document the guide for API collections
2025-09-23 14:50:58 +02:00
Filip Pajic 7de306e0f7 feat: Add Database support to the project (#2)
* sequelize + pg setup

* create session management

* linting

* documented new scripts in the README

* update the installation guide

* update the contributors guide
2025-09-19 14:40:35 +02:00
Filip Pajic e89ca8f650 feat: Routing setup (#1)
* revert back to old node_modules based linking

* init express server

* add "status" route

* add env config

* add new PR template

* add eslint

* lint fixes

* add PR workflow

* update cache action

* update cache action

* add corepack to lint job

* add cache action id

* upgrade setup-node action to v4

* set explicitly container version on lint job

* deliberate lint error

* tighten the linter

* fix linting error
2025-09-18 14:25:24 +02:00
Filip Pajic 1923462eb0 First commit 2025-09-11 14:48:47 +02:00