Skip to content
View alsaecas's full-sized avatar
🧱
Backend & Smart Contract Engineer · Java/Spring · Solidity · TypeScript
🧱
Backend & Smart Contract Engineer · Java/Spring · Solidity · TypeScript

Block or report alsaecas

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
alsaecas/README.md

Alejandro Saez Castells

Senior Backend & Smart Contract Engineer
Production backend systems · Smart contracts & Web3 · Cross-platform product engineering

Valencia, Spain · Open to remote opportunities across EMEA and international teams

Portfolio CV LinkedIn Contact


About me

I build backend services, smart contracts, blockchain integrations, and production applications where roles, permissions, money, state, deadlines, and reliability matter.

My background spans more than 15 years of engineering, from industrial automation and operational systems to backend, full-stack, mobile, and blockchain development. I bring the same mindset to software that production environments demand: explicit state, controlled failure modes, observable operations, strong testing, and designs that remain understandable under pressure.

My current focus is the intersection of:

  • Backend and identity systems — APIs, authentication, federation, persistence, integrations, and CI/CD
  • Smart contracts and protocol integrations — permissions, state machines, DeFi routers, token flows, deadlines, and security boundaries
  • Programmable payments — agent spending policies, payment intents, wallets, receipts, and authorization rules
  • Production product engineering — cross-platform applications, marketplaces, operational interfaces, testing, and release delivery
  • Real-world workflows — aviation, travel, food marketplaces, team finance, identity, and operational automation

Featured engineering work

🍳 Cooking

A production mobile marketplace connecting customers with nearby local kitchens.

Cooking is a two-sided product composed of an Android and iOS customer application and a dedicated Android manager application used by kitchens for daily operations.

I contribute across the customer application, the store-facing manager experience, and supporting API behaviour. My work includes marketplace discovery, maps, menus, favourites, cart state, authentication, sharing, order UX, store order workflows, notifications, product availability, automated testing, release configuration, and production troubleshooting.

The project requires maintaining consistent product state across customer and kitchen workflows while handling Android- and iOS-specific behaviour, mobile failure states, native dependencies, and app-store delivery.

Demonstrates: production mobile engineering · two-sided marketplaces · cross-platform reliability · operational software · state management · automated mobile testing · release readiness

Stack: React Native · Expo · TypeScript · Expo Router · TanStack Query · Jotai · Supabase · EAS Build · Jest · Maestro

Case study · Product website · Customer app · Google Play · Customer app · App Store


⚡ CSPR AgentPay Guard

Policy-controlled HTTP 402 payments for autonomous AI agents.

An agentic-payment system where an autonomous agent can purchase a protected API response only when a deterministic spending policy authorizes it. Payments are bound to exact requests and protected through merchant allowlists, spending limits, expiration checks, audit events, and replay prevention.

The project includes a TypeScript monorepo, protected API, policy engine, agent runner, dashboard, Casper adapter, and an Odra smart contract for recording proof data on Casper Testnet.

Demonstrates: agentic commerce · HTTP 402 · policy engines · request-bound receipts · replay protection · Casper Testnet · on-chain proof recording

Stack: TypeScript · Node.js · Next.js · Rust · Odra · Casper · Vitest

Live demo · Source code · DoraHacks submission


🏦 CupTreasury

A self-custodial treasury for football teams, squads, and fan groups.

CupTreasury replaces contribution reminders and expense approvals managed through WhatsApp with a structured treasury workflow. Captain and Treasurer approvals are transformed into exact, one-time payment capabilities that can be evaluated through Tether WDK policies.

The project includes contribution tracking, match-day expense requests, role-based approvals, PaymentIntent authorization, WDK policy simulation, safe no-broadcast signing, proof artifacts, automated tests, and a judge-facing verification flow.

Demonstrates: programmable payments · self-custody · approval policies · capability-based authorization · Tether WDK · security boundaries

Stack: Next.js · TypeScript · Tether WDK · React · Vitest · GitHub Actions

Live demo · Source code


🔄 SwapGuard

A security-aware Uniswap V2 integration with slippage protection and reproducible fork testing.

SwapGuard demonstrates the complete ERC-20 swap lifecycle: router quotations, exact-input swaps, minimum-output protection, transaction deadlines, temporary router allowances, direct output delivery, and transaction receipt handling.

The project includes a focused Solidity integration contract, behavioral mocks, unit and fuzz tests, pinned Arbitrum fork tests against real deployed contracts, local Anvil tooling, CI, and a React interface built with wagmi and viem.

The public deployment is an interactive portfolio preview. Real swap execution is available through the reproducible local Arbitrum fork without using real funds.

Demonstrates: DeFi integration · Uniswap V2 · ERC-20 allowances · slippage protection · router trust boundaries · fork testing · wallet transaction UX

Stack: Solidity · Foundry · OpenZeppelin · React · TypeScript · wagmi · viem · Arbitrum · Vercel

Interactive demo · Source code


✈️ On-chain Flight Turnaround Checklist

Winner of the Blockchain-based Turnaround Checklist challenge at Decode Travel Barcelona 2025.

A smart-contract-backed aviation workflow created with Camino Network and Vueling. Each aircraft turnaround is modeled through task ownership, role permissions, completion states, operational deadlines, SLA and KPI computation, certification, and ERC-721 reward badges.

The project translates a real multi-actor operational process into explicit, auditable smart-contract state transitions.

Demonstrates: operational workflow modeling · smart-contract state machines · deadlines · KPIs · certification · tokenized incentives

Stack: Solidity · TypeScript · Next.js · Camino Network · IPFS · ERC-721

Case study · Source code


🧰 Fondant

A Ganache-like local development environment for Casper applications.

Fondant packages Casper CCTL functionality into a Docker-based application suite with interfaces for accounts, blocks, deploys, events, logs, and local RPC workflows.

It was designed to shorten the feedback loop for developers building and testing Casper smart contracts without relying entirely on shared networks.

Demonstrates: blockchain developer tooling · local infrastructure · Dockerized environments · RPC integration · developer experience

Stack: TypeScript · Rust · Docker · Docker Compose · CCTL · Casper

Case study · Source code


Production backend engineering

Alongside my public Web3 and product work, I build backend and identity systems using Java, Spring Boot, PostgreSQL, Keycloak, REST APIs, OpenAPI, Docker, Gradle, and CI/CD.

My professional work includes:

  • Identity federation, SSO, authentication flows, and role synchronization
  • Keycloak extensions, authenticators, event listeners, and client policies
  • REST and gRPC service design
  • Database modeling and Flyway migrations
  • External provider and blockchain integrations
  • Authorization and account lifecycle rules
  • Automated unit and integration testing
  • Production debugging, system upgrades, and deployment workflows

Technical focus

Area Technologies
Backend systems Java, Spring Boot, Node.js, TypeScript, REST, gRPC, PostgreSQL, MongoDB, OpenAPI
Identity and security Keycloak, SSO, OAuth2, role-based access control, federation, policy enforcement
Smart contracts Solidity, Foundry, Hardhat, OpenZeppelin, EVM, ERC-20, ERC-721, ERC-1155, EIP-712
DeFi and payments Uniswap V2 integrations, token allowances, slippage, fork testing, Tether WDK, payment policies
Blockchain ecosystems Ethereum/EVM, Arbitrum, Camino Network, Casper, wallets, IPFS
Mobile products React Native, Expo, Android, iOS, Expo Router, TanStack Query, Jotai, EAS Build, Maestro
Frontend and product React, Next.js, TypeScript, wagmi, viem, dashboards, marketplaces, wallet and KYC flows
Infrastructure Docker, GitHub Actions, GitLab CI/CD, Gradle, Vercel, AWS services
Industrial systems PLCs, SCADA, automation, controls, OT/IT integration, automotive production

More Solidity and EVM work

View additional smart-contract projects

Fallas Passport

Location-based ERC-1155 passport using EIP-712 signed vouchers, QR/NFC checkpoints, replay protection, and privacy-aware presence verification.

View repository

Fixed-Amount ERC20 Staking

Fixed-token staking system with period-based ETH rewards, SafeERC20 handling, custom errors, admin boundaries, and security-focused Foundry tests.

View repository

SavingsBankPro

Time-locked ETH savings plans with early-withdraw penalties, treasury routing, pause controls, reentrancy protection, and fuzz testing.

View repository

Chain Bounty Marketplace

ERC-20-funded bounty marketplace with escrow, submissions, deadlines, winner selection, cancellation rules, and payout execution.

View repository


How I approach engineering

  • Start with the actors, rules, constraints, and failure modes—not the framework.
  • Keep contract, application, and API state transitions explicit and testable.
  • Treat authentication, wallets, signatures, providers, mobile platforms, tokens, and external protocols as reliability boundaries.
  • Separate demonstrable functionality from assumptions, simulations, and future production work.
  • Use blockchain where it provides verifiable state, traceability, programmable authorization, or meaningful automation.
  • Test isolated behavior with mocks and external integrations against reproducible environments.
  • Validate critical product journeys across the platforms and device states where they run.
  • Document architecture, trade-offs, trust assumptions, limitations, and production-hardening requirements.

Currently exploring

  • Autonomous-agent payments and HTTP 402 workflows
  • Policy-controlled wallets and programmable payment authorization
  • DeFi protocol integrations and secure token flows
  • Reproducible mainnet-fork testing
  • On-chain proof and audit systems
  • Blockchain-backed operational workflows
  • Reliable cross-platform applications connected to backend and identity systems

Let’s connect

I am open to remote opportunities involving senior backend engineering, smart contracts, DeFi integrations, blockchain platforms, Web3 infrastructure, programmable payments, production mobile products, and technically ambitious product development.

Portfolio · LinkedIn · Contact

Pinned Loading

  1. fallas-passport-1155 fallas-passport-1155 Public

    Location-based ERC-1155 “passport” for Fallas (Valencia) using EIP-712 signed claim vouchers (QR/NFC).

    Solidity

  2. erc20-staking-eth-rewards erc20-staking-eth-rewards Public

    Fixed-amount ERC20 staking contract with ETH rewards, built with Solidity + Foundry. Includes a full test suite with high coverage, custom errors/events, SafeERC20 + reentrancy protection, and end-…

    Solidity

  3. Chain-Bounty-Marketplace Chain-Bounty-Marketplace Public

    A minimal on-chain bounty marketplace built on Solidity

    Solidity

  4. aanit-app/decode-travel-with-vueling aanit-app/decode-travel-with-vueling Public

    TypeScript 1 1

  5. savings-bank-pro-foundry savings-bank-pro-foundry Public

    Production-style ETH savings bank built with Solidity & Foundry, featuring time-locked plans, penalties, and security-focused testing.

    Solidity