SecondSwap
Tradable Vesting Contracts Platform
What we did:
Brief & Background
SecondSwap is a DeFi protocol that creates a secondary market for locked and vesting token allocations. In traditional crypto fundraising, early investors and team members receive tokens subject to vesting schedules that lock them for months or years. SecondSwap gives these holders a way to trade their vesting positions before unlock — and gives buyers access to discounted tokens with transparent, on-chain vesting terms.
The protocol needed a technology partner capable of delivering across three blockchain ecosystems (Avalanche, Ethereum, and Solana), building the full product stack from smart contracts through to user-facing applications and operational analytics.
SecondSwap had a clear product vision and early traction with foundation grants, but needed a team that could execute across multiple chains, build production-grade smart contracts, and ship a polished marketplace experience — all while hitting milestone deadlines tied to grant funding.
Business Objectives
Build Smart Contracts for Tradable Vesting
Design and deploy step-vesting and marketplace contracts on EVM (Solidity) and SVM (Anchor/Rust) that enable listing, purchasing, transferring, and claiming of vesting positions.
Launch a Multi-chain Marketplace
Deliver a production marketplace where users can discover, list, and purchase vesting allocations across Avalanche, Ethereum, and Solana with a unified experience.
Achieve Foundation Grant Milestones
Delivered key milestones for 2–3 major blockchain foundations, including EVM launches, user and transaction growth targets, and measurable protocol adoption.
Establish Analytics & Reporting
Build public-facing analytics (Dune dashboard) and internal operational dashboards (Metabase) to track TVL, transactions, connected wallets, and chain-level metrics.
Our Solution
Hoasen served as SecondSwap's end-to-end technology partner across the full product stack — from smart contract architecture and security through frontend, backend, and analytics. The team operated across three blockchain ecosystems simultaneously, coordinating contract deployments, API integrations, and user-facing features on aggressive grant-driven timelines.
1.EVM Smart Contracts (AVAX & ETH)
The core on-chain layer is built in Solidity 0.8.24 using Hardhat and Foundry, with OpenZeppelin 5.x upgradeable contracts. The suite includes:
- SecondSwap Marketplace — upgradeable marketplace supporting listings, partial/single purchases, discounts, whitelists, and multiple payment currencies
- SecondSwap StepVesting — step-based vesting with claims, transfers, reallocation, and sell-limit enforcement
- SecondSwap VestingManager — allocation management, listing metadata, and interaction between vesting schedules and the marketplace
- TokenTable Adapter — bridges external vesting standards into the marketplace
- Deployed on Avalanche C-Chain and Ethereum mainnet with Defender integration and Etherscan verification


2.Solana Programs (SVM)
A parallel implementation was built using Anchor 0.31 (Rust) for the Solana ecosystem:
- Marketplace program — listings, spot purchases, payment token management, vesting program allowlists, admin controls (freeze/unfreeze)
- StepVesting program — vesting plans, schedules, claim/transfer/combine paths, sell-limit logic
- @secondswap/sdk — TypeScript SDK published for frontend and backend integration
- @secondswap/vesting-cli — CLI tooling for vesting and listing operations
- Feature-gated program IDs across dev, staging, production, and demo environments
3.Frontend Applications
Three Vue-based applications were built to serve different user personas:
Marketplace (Nuxt 3)
Public-facing app: token discovery, listings, bids, lots, referral/points system, wallet connect (EVM + Solana via Reown AppKit), activity feeds, and landing pages with Dune integration.
Admin Panel (Vue 3 + Vuetify)
Internal operations: delist/freeze controls, fee management, user management, and ApexCharts-powered analytics.
Token Issuer (Vue 3 + Vite)
Project teams create and manage vesting plans: draft flows for allocations, vesting schedules, sell limits, and contract deployment.
Shared UI Library
@secondswap/ui — reusable component library across all frontends with Tailwind CSS and DaisyUI.
4.Backend & Infrastructure
The backend is a NestJS 11 application (TypeScript 5.9) backed by PostgreSQL, Redis (Bull queues), and chain-specific workers:
- Multi-chain indexing via Moralis Streams (EVM) and dedicated Solana/Avalanche/Ethereum workers
- REST API with Swagger docs, cookie-based auth across user, issuer, and admin portals
- AWS CDK for asset storage (S3), Vercel for frontend deployments with branch-based environments (dev / staging / production / demo)
- Controllers spanning marketplace, vesting plans, lots, bids, transactions, referrals, Telegram integration, advertisements, and staff management


5.Analytics & Dashboards
Public and internal dashboards were built to give full visibility into protocol performance:
- Dune Analytics — public dashboard at dune.com/secondswapio tracking TVL, connected wallets, transaction volumes, and chain breakdowns
- Metabase — internal dashboards at metabase.secondswap.io for operational metrics, chain-filtered views (EVM vs. Solana), and product health monitoring
Project Gallery
Outcome
Over the course of the one-year engagement, Hoasen delivered a production-grade multi-chain DeFi platform from the ground up — smart contracts through to analytics.
$6M peak TVL
The platform reached six million dollars in total value locked across supported chains
5,000+ active users
Organic adoption across the marketplace, with referral and points systems driving engagement
Foundation grant milestones achieved
Key deliverables for two to three blockchain foundations were met on schedule, including EVM launches, user thresholds, and transaction targets
Significant investment secured
The company attracted meaningful investment on the back of the delivered product and demonstrated traction
SecondSwap validated that locked vesting positions can become a liquid, tradable asset class. The protocol now operates across three major blockchain ecosystems with a growing user base and active marketplace — positioned for further expansion.
Get in touch with us
Let's build something extraordinary together!






