Commit Graph
41 Commits
Author SHA1 Message Date
Filip Pajic 4ebdda1f64 feat: Migrate to Status Hoodi (#25)
* add hoodi chain

* linea_estimateGas calculation function

* custom ethers Wallet provider for Linea chains

* migrate Karma minting to Hoodi

* linter fixes

* use checksum user address

* linting fixes

* revert to lowercase address for user id
2026-04-09 14:36:07 +02:00
Filip Pajic 99d456f512 fix: APY Service exception handling (#23)
* handle potential APY service exceptions

* document apy field as potentially undefined

* linting fixes
2026-01-27 22:39:09 +01:00
Filip Pajic 811efda6d1 chore: update company treasury ETH predeposit 2026-01-20 08:59:28 +01:00
Filip Pajic 9368c52b65 feat: Account for company treasury deposits (#19)
* account for company treasury deposits

* account gusd company treasury deposit

* update eth deposit
2026-01-17 21:08:44 +01:00
Filip Pajic 610b4df54c feat: GUSD predeposit vault (#22)
* create gusd seeder

* added generic money GenericDepositor abi

* added generic money BridgeCoordinator abi

* create generic money BridgeCoordinator sc service

* handle apy calculation for gusd predeposit vault

* lint fixes
2026-01-16 13:44:06 +01:00
Filip Pajic caf0873a2a feat: User gas-quota route mock (#20)
* create mock /me/quota route

* add auth/me/quota docs
2025-12-26 19:06:51 +01:00
Filip Pajic 2d887572de chore: enable param logging for DB queries 2025-12-23 16:24:44 +01:00
Filip Pajic 5f31a83ad1 fix: check for vault tvl to not be 0 on APY calculation 2025-12-15 17:24:15 +01:00
Filip Pajic cb6fe60d6e feat: add apy calculation to admin vaults route 2025-12-15 17:08:49 +01:00
Filip Pajic efd670033b fix: pre-deposit new columns migration fixed 2025-12-15 08:51:21 +01:00
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 4187587b67 feat: add cookie same site policy param 2025-12-09 16:04:19 +01:00
Filip Pajic 3958d4e75b chore: update env example default values 2025-12-05 14:25:33 +01:00
Filip Pajic 895b6ad5cc fix: allow for apy over 100 2025-12-05 14:25:22 +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
marko eb034b2846 docker: mount entrypoint file in prod compose 2025-11-09 12:22:20 +01:00
Filip Pajic fc0be848b4 feat: Add proxy awareness (#14)
* add proxy variables

* linting fixes
2025-11-06 16:46:24 +01:00
marko 667fd90c81 dockerfile: install netcat for the docker healthcheck to work
Referenced issue:
* https://github.com/status-im/infra-sites/issues/93
2025-11-06 12:17:47 +01:00
marko 51cff19fae deployment: adapt docker related stuff for deployment
Referenced issue:
* https://github.com/status-im/infra-sites/issues/93
2025-11-05 12:11:14 +01:00
Filip Pajic 4d4d8d796a feat: Connect POW provider route (#12)
* pow sybil provider connecting implemented

* linting fixes

* add OpenAPI documentation
2025-11-04 14:22:39 +01:00
Filip Pajic f07ed04142 feat: Separate session route from /me to /me/session (#11)
* add /me/session route

* add OpenAPI docs

* linting fixes
2025-11-04 11:33:08 +01:00
Filip Pajic c5770cf7cb feat: Extend /me to provide connected sybil providers (#10)
* add new pow_authenticated column

* separate user session data and user entity

* rename provider from CAPTCHA_CAP to POW

* set default value for pow provider in User model

* update OpenAPI docs

* linting fixes
2025-11-04 11:18:06 +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 ee18a70272 fix: enable credentials in CORS policy 2025-10-23 13:08:07 +02:00
Filip Pajic f391c7c0ae chore: API Documentation adjustments (#8)
* explicitly mark required /auth request properties

* make workflows run on merge

* add global position to Karma object

* typo fix

* added more fields to ecosystem app response
2025-10-23 13:00:45 +02:00
Filip Pajic 61eb27199a chore: API Documentation (#7)
* add /auth routes

* add /app route

* add /karma related routes
2025-10-21 12:17:49 +02:00
Filip Pajic c1f1813e3a chore: Add ethereum authentication docs 2025-10-16 14:32:53 +02:00
Filip Pajic cb6605d019 fix: Make session token not auto-renew 2025-10-16 14:32:31 +02: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 9a1a124461 chore: Add placeholder folders 2025-09-25 12:37:38 +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 47dc715638 chore: Contributing guide and rules (#3)
* add contributors guide

* Update the PR template contributors guide link

* Update the PR template contributors guide link

* Update one PR template checklist rule
2025-09-22 12:07:51 +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 a377934ce0 chore: update README file 2025-09-11 14:53:41 +02:00
Filip Pajic a65d2d7938 chore: Create README file 2025-09-11 14:51:54 +02:00
Filip Pajic 712b18beca chore: Update .gitignore 2025-09-11 14:51:04 +02:00
Filip Pajic 1923462eb0 First commit 2025-09-11 14:48:47 +02:00