← Back to projects

Featured project · Blockchain

DeConsultancy:
Building trust into freelance work.

A blockchain-based consultancy marketplace that uses smart contract escrow to create a more transparent and reliable way for clients and consultants to work together.

Type

Personal project

Domain

Blockchain · Web3 · SaaS

Network

Ethereum Sepolia

DeConsultancy application landing page
DeConsultancy — Application overviewEthereum Sepolia · Development preview
01

The idea

Freelance work needs more than an agreement.

Freelance and consultancy relationships depend on trust. Clients want confidence that their money will be handled fairly, while consultants want assurance that they will be paid for completed work.

The project explores whether blockchain and smart contracts can make this relationship more transparent through an escrow-based workflow that both parties can verify.

02

The solution

An escrow marketplace built around accountability.

DeConsultancy brings buyers and consultants into a shared workflow. Payments are managed by smart contracts, while the application provides the interface for creating orders, communicating project progress, submitting deliverables, and handling disputes.

01

Smart Contract Escrow

Buyer payments are held by a smart contract and released according to the order lifecycle, reducing reliance on a central payment intermediary.

02

Fixed-price Order Workflow

Consultants set their prices, buyers create and fund orders, and both parties follow a structured process from acceptance to delivery.

03

Dispute Resolution

A designated arbitration mechanism allows authorized arbiters to review disputes and vote on outcomes through smart contract interactions.

04

IPFS-based Metadata Storage

Project requirements and delivery metadata are stored using IPFS, keeping supporting information separate from on-chain transaction data.

05

Timeout Recovery

Time-based contract rules provide recovery paths for unaccepted orders, missed delivery deadlines, and unresolved disputes.

06

Transparent Settlement

Escrow settlement, platform fees, and payment outcomes are governed by smart contract rules and recorded on-chain.

03

The workflow

From agreement to completion.

The platform follows a structured escrow lifecycle designed to make responsibilities and transaction states clear to both parties.

01

Create an order

The buyer selects a consultant, defines the requirements, and agrees to a fixed price.

02

Fund the escrow

The buyer creates and pays for the order through the smart contract.

03

Accept and work

The consultant accepts the order and begins working on the agreed requirements.

04

Submit delivery

The consultant submits the completed work and its associated delivery metadata.

05

Complete or resolve

The buyer approves delivery to release payment. If a dispute arises, the arbitration process determines the outcome according to the contract rules.

04

Technology

The systems behind the product.

DeConsultancy combines blockchain infrastructure with a conventional web application. Each layer has a distinct responsibility, allowing the product to coordinate on-chain transactions and off-chain application data.

Smart contracts

Solidity, Foundry, OpenZeppelin, and Ethereum Sepolia for escrow logic and transaction execution.

Frontend

Next.js, React, TypeScript, Tailwind CSS, Wagmi, Viem, and RainbowKit for the application and wallet interactions.

Storage

IPFS and Pinata for decentralized storage of project requirements and submission metadata.

Backend and database

Prisma and PostgreSQL for application data and user-related information.

Technology stack

SolidityFoundryOpenZeppelinEthereumNext.jsTypeScriptReactTailwind CSSWagmiViemRainbowKitIPFSPinataPrismaPostgreSQL
05

Application showcase

Making blockchain interactions understandable.

The application translates smart contract operations into structured interfaces for creating agreements, managing orders, tracking delivery, and monitoring escrow activity.

DeConsultancy agreement creation interface

01

Agreement creation

A structured workflow for defining project requirements, reviewing agreement terms, and funding an on-chain escrow.

DeConsultancy consultancy dashboard

02

Consultancy dashboard

A unified workspace for monitoring orders, projects, escrow balances, portfolio metrics, and wallet connectivity.

Completed DeConsultancy escrow order

03

Order workspace

A dedicated interface for tracking order status, escrow details, delivery deadlines, participants, and completion.

06

Testing and verification

Correctness before deployment.

The smart contract was tested using Foundry to verify escrow operations, order state transitions, access restrictions, timeout recovery, refunds, and dispute resolution.

76

Tests passed

0

Tests failed

0

Tests skipped

Line coverage

96.49%

220 of 228 lines

Statement coverage

97.86%

229 of 234 statements

Branch coverage

77.38%

65 of 84 branches

Function coverage

100.00%

21 of 21 functions

Foundry smart contract test results showing 76 passing tests and code coverage
Foundry test execution and coverage report — August 2026.

Test coverage measures how much of the contract is exercised by the test suite. These results do not constitute an independent smart contract security audit.

Explore the smart contract and tests →
07

Engineering challenges

The difficult parts were beyond writing code.

Building a reliable product requires more than implementing individual features. The challenge was coordinating smart contract logic, application state, external storage, and user interactions into a consistent system.

Designing the escrow lifecycle

The contract needed to handle more than locking and releasing funds. Acceptance, delivery, cancellation, timeouts, refunds, and disputes all required carefully defined state transitions.

Connecting blockchain with the application

Wallet interactions, smart contract transactions, frontend state, and backend data needed clear separation of responsibilities while remaining consistent across the application.

Building a usable product

A functioning smart contract is only one part of the product. The application also needs understandable workflows, clear transaction states, useful feedback, and a consistent interface.

08

Engineering takeaways

Building a product changes how you think.

DeConsultancy started as an exploration of smart contract escrow. It gradually became a broader exercise in product development, system design, and engineering.

Think in systems

Features are connected. A decision in a smart contract can affect the frontend, backend, and user experience.

Design for people

Security and correctness matter, but users also need understandable workflows and meaningful feedback.

Finish what you start

Building involves testing, debugging, refining, and addressing details that are easy to overlook at the beginning.

Project status

From smart contract to application. The learning continues.

DeConsultancy began as an exploration of smart contract escrow and evolved into a full-stack blockchain application. The core escrow workflow has been implemented and exercised on Ethereum Sepolia, with further refinement focused on application reliability and user experience.

Smart contract

Implemented and tested

Network

Ethereum Sepolia

Application

Under refinement