Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
80a458e
add model, api service
gianfra-t Jan 28, 2026
007bd54
add quote types
gianfra-t Jan 28, 2026
14892f8
add onramp/offramp endpoints
gianfra-t Jan 28, 2026
655d875
add fiat account creation endpoint and types
gianfra-t Jan 28, 2026
ae059da
add alfredpay endpoints, individual
gianfra-t Jan 30, 2026
6cc3c35
update our own state when user performs status query of KYC
gianfra-t Feb 2, 2026
1b6245d
add alfredpay state machine
gianfra-t Feb 2, 2026
56ed7ef
add initial alfredpay kyc flow components
gianfra-t Feb 3, 2026
a7aec32
improve alfredpay status update flow
gianfra-t Feb 3, 2026
44d0206
add initial alfredpay ramp logic
gianfra-t Feb 4, 2026
54a7a6d
use proper country id for kyc link
gianfra-t Feb 4, 2026
50b28cd
connect alfredpay quote and transaction creation logic
gianfra-t Feb 4, 2026
1320e58
connect alfredpay transaction creation to register endpoints
gianfra-t Feb 5, 2026
99f3bd5
correct kyc validator, add ach data response
gianfra-t Feb 5, 2026
2eeae5f
add mint phase for alfredpay flow
gianfra-t Feb 17, 2026
5fe83dc
adjust phase connections
gianfra-t Feb 18, 2026
7bc02ab
add kyc retry endpoint
gianfra-t Feb 18, 2026
b1a66ee
add retry logic to Frontend
gianfra-t Feb 18, 2026
b8a64aa
adjust "to" currency for alfredpay quote
gianfra-t Feb 18, 2026
745d80a
replicate kyc endpoints for business users
gianfra-t Feb 18, 2026
0fd4b05
make alfredpay mint phase less complex
gianfra-t Feb 19, 2026
4df8f9c
corrections to alfredpay flow
gianfra-t Feb 19, 2026
3eb8827
initial draft, alfredpay kyb endpoints improvements
gianfra-t Feb 19, 2026
245fc0e
adjustments and removal of kyb repeated endpoints
gianfra-t Feb 20, 2026
1b6823b
more adjustments to KYB flow
gianfra-t Feb 20, 2026
e2f736a
add quote engine classes for offramping with Alfredpay
gianfra-t Feb 23, 2026
e88fce1
Merge branch 'staging' into add-alfredpay-support
gianfra-t Feb 23, 2026
7541de0
adjust quote metadata for alfredpay offramp, adjust final settlement …
gianfra-t Feb 23, 2026
9d2fc77
adding alfredpay offramp phases
gianfra-t Feb 23, 2026
0dd8c81
connect squidrouter relayer
gianfra-t Feb 25, 2026
1f1699b
adjust signing flow states.
gianfra-t Feb 25, 2026
086b1e7
add squidrouter relayer phase
gianfra-t Feb 26, 2026
77a247f
adjust relayer contract to be payable
gianfra-t Feb 27, 2026
f94d262
adjust phase value selectors
gianfra-t Feb 27, 2026
4cf4312
update ramp flow in docs
gianfra-t Feb 27, 2026
46a8893
add relayer contract files
gianfra-t Feb 28, 2026
018c142
add ephemeral intermediate step after squidrouter
gianfra-t Mar 2, 2026
35d932a
fixes for rpc fee estimation in pre-signed transaction
gianfra-t Mar 2, 2026
140b38e
model modifications, adding quote engine key
gianfra-t Mar 2, 2026
660ea3f
add translation to alfredpay kyc component
gianfra-t Mar 2, 2026
7fbaf25
rename variables
gianfra-t Mar 2, 2026
41483a8
handle alfredpay fees, onramp case
gianfra-t Mar 2, 2026
bda9685
flow adjustments
gianfra-t Mar 3, 2026
0bf93ea
removing unused console logs
gianfra-t Mar 3, 2026
e66a691
changing timeouts, deadlines. Renamings.
gianfra-t Mar 3, 2026
0e9fb3e
rename freeTokenDetails type
gianfra-t Mar 3, 2026
bce696c
solve type issues
gianfra-t Mar 3, 2026
17c7206
more type fixes
gianfra-t Mar 3, 2026
d4c3459
exclude relayer-contract folder from general typecheck
gianfra-t Mar 3, 2026
5a52edb
add portuguese keys for Alfredpay
gianfra-t Mar 3, 2026
a9bc78d
Adjust .env.example
ebma Mar 4, 2026
cdfebb8
Configure 'relayer-contract' as part of the bun monorepo
ebma Mar 4, 2026
987694c
Refactor contracts directory
ebma Mar 4, 2026
58c1706
Add security audit report for TokenRelayer contract
ebma Mar 4, 2026
a8ff3f2
Refactor directory structure
ebma Mar 4, 2026
e63d38b
Upgrade smart contract with security findings
ebma Mar 4, 2026
83973b1
Adjust comments
ebma Mar 4, 2026
125f601
Adjust issues with TokenRelayer.sol
ebma Mar 4, 2026
8172325
Remove redundant SECURITY_AUDIT.md
ebma Mar 4, 2026
ea02325
redeployed audited contract
gianfra-t Mar 4, 2026
bcdbce2
adjusting payload signature params for token relayer
gianfra-t Mar 4, 2026
10ee470
correct for alfredpay usdc onramp to polygon
gianfra-t Mar 6, 2026
b0f6b6e
do not skip destination transfer for special flow
gianfra-t Mar 6, 2026
8f81c53
add new state to machine to validate or refresh auth tokens
gianfra-t Mar 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,8 @@ storybook-static


CLAUDE.local.md
.claude
.claude

# hardhat generated files in workspace contract projects
contracts/*/artifacts
contracts/*/cache
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,16 @@ Vortex is a gateway for cross-border payments. It is built on top of the Pendulu

## Repository Structure

This is a **Bun monorepo** containing multiple sub-projects organized into apps and packages:
This is a **Bun monorepo** containing multiple sub-projects organized into apps, packages, and contracts:

### Apps

- **[apps/api](apps/api)** - Backend API service providing signature services, on/off-ramping flows, quote generation, and transaction state management
- **[apps/frontend](apps/frontend)** - React-based web application built with Vite for the Vortex user interface
- **[apps/rebalancer](apps/rebalancer)** - Service for automated liquidity rebalancing across chains
### Contracts

- **[contracts/relayer](contracts/relayer)** - Hardhat project for relayer smart contracts and deployment scripts

### Packages

Expand Down Expand Up @@ -69,6 +72,11 @@ bun dev:backend
bun dev:rebalancer
```

**Relayer contract local node:**
```bash
bun dev:contracts:relayer
```

### Building

**Build all projects:**
Expand All @@ -91,6 +99,15 @@ bun build:sdk
bun build:shared
```

**Relayer contract:**
```bash
# Compile contracts
bun compile:contracts:relayer

# Run contract tests
bun test:contracts:relayer
```

## Sub-Project Specific Instructions

### Frontend (apps/frontend)
Expand Down
5 changes: 5 additions & 0 deletions apps/api/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,8 @@ DELTA_D_BASIS_POINTS=0.3
# RSA Keys for Webhook Signing
# Only the private key is needed - public key is derived from it
WEBHOOK_PRIVATE_KEY=your-webhook-private-key

# AlfredPay
ALFREDPAY_BASE_URL=your-alfredpay-base-url
ALFREDPAY_API_KEY=your-alfredpay-api-key
ALFREDPAY_API_SECRET=your-alfredpay-api-secret
Loading