Softwr

Crypto · head to head

Hardhat vs Modern Treasury

Hardhat logo

Hardhat

Crypto

Ethereum development environment to compile, deploy, test and debug Solidity

From
Free
Free plan
Yes
Modern Treasury logo

Modern Treasury

Accounting

Payment operations and ledger infrastructure that sits between your product and your own bank accounts

From
On request
Free plan
No

The short version

  • Hardhat is a free Ethereum development environment.
  • Hardhat is free; Modern Treasury prices on request.
  • Only Hardhat lists solidity tests on Rust runtime; only Modern Treasury lists multi-rail payment initiation.
  • Where Hardhat falls short: requires Node.js v22.13.0 or later to be installed.

How do Hardhat and Modern Treasury differ?

Hardhat and Modern Treasury differ on starting price (Free against On request), pricing model (Open-source against Quote) and free tier (Yes against No). Only the attributes on which Hardhat and Modern Treasury actually diverge.

Attributes where Hardhat and Modern Treasury differ
AttributeHardhatModern Treasury
Starting priceFreeOn request
Pricing modelOpen-sourceQuote
Free tierYesNo
CategoryCryptoAccounting

Identical on both: platforms (Web).

Not yet recorded: founded for Hardhat.

Which features does each one have?

They share no listed features; 9 appear only for Hardhat and 8 only for Modern Treasury. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Hardhat

  • Solidity tests on Rust runtime
  • TypeScript tests with viem or ethers
  • Fuzz testing
  • Solidity stack traces
  • Hardhat Ignition deployments
  • OP Stack and Base simulation
  • Local development node
  • Plugin ecosystem

Only in Modern Treasury

  • Multi-rail payment initiation
  • Bank connectivity
  • Ledgers
  • Automatic reconciliation
  • Approval workflows
  • Virtual accounts
  • Compliance tooling
  • Return and exception handling

What is each one used for?

Hardhat is most often brought in for testing Solidity contracts. The jobs each tool is most often brought in to do.

Hardhat

  • Testing Solidity contractsnot Modern Treasury
  • Deploying contracts across networksnot Modern Treasury
  • Debugging reverts with stack tracesnot Modern Treasury
  • Fuzz testing contract logicnot Modern Treasury
  • Multichain EVM developmentnot Modern Treasury

Modern Treasury

  • A marketplace paying out to thousands of sellers that needs a ledger its application can trust rather than reconciling a payments dashboard by handnot Hardhat
  • A lender originating and servicing loans that must track disbursements, repayments and returns against its own bank accountsnot Hardhat
  • A company that wants to move off a banking as a service provider and hold its own bank accounts after seeing sponsor banks offboard fintech programmesnot Hardhat
  • An insurer handling premium collection and claims payment across several rails with approval controls and an auditable trailnot Hardhat

Where do Hardhat and Modern Treasury fall short?

Hardhat's most cited limit: requires Node.js v22.13.0 or later to be installed. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Hardhat

  • Requires Node.js v22.13.0 or later to be installed
  • Command-line tool with no graphical interface
  • Hardhat 3 migration needed from Hardhat 2 projects
  • Amsterdam hardfork support is still experimental

Modern Treasury

  • You must already have or be able to obtain your own bank accounts with the right connectivity, so early stage companies without a banking relationship cannot use it and are pushed towards a sponsor bank model instead
  • Pricing rests on an annual minimum commitment, and companies that miss their volume forecast pay the minimum regardless, which makes the headline per-transaction rate close to irrelevant in year one
  • Supported bank connectivity is a finite list, so if your bank is not on it you are either waiting for an integration or changing banks, which is a far larger project than adopting the software
  • It is software over banking, not banking, so it does not solve card issuing, deposit accounts or the licensing questions that a company embedding financial products still has to answer elsewhere
  • The ledger is genuinely good but adopting it properly means making it the source of truth for balances in your product, which is a significant application change rather than a payments integration and is where implementations run long

How much do Hardhat and Modern Treasury cost?

Hardhat is free to use; Modern Treasury is priced on request. Plan by plan below, from each vendor's own pricing page.

Hardhat

Free

No published plan breakdown. See the Hardhat review.

Modern Treasury

On request
  • Modern Treasury PlatformOn request
    • Platform access fee covering API, dashboard, infrastructure and support
    • Usage-based fees across ACH, wires, RTP, FedNow, push to card, cheques and stablecoins
    • A single annual minimum commitment that both platform and usage fees count towards

Which should you pick?

Choose Hardhat if

  • You need solidity tests on rust runtime.
  • You want to start without paying.
  • You also want typescript tests with viem or ethers.

Choose Modern Treasury if

  • You need multi-rail payment initiation.
  • You also want bank connectivity.

Questions people ask

Is Hardhat or Modern Treasury better?
It depends on the job. Hardhat fits testing Solidity contracts; Modern Treasury fits a marketplace paying out to thousands of sellers that needs a ledger its application can trust rather than reconciling a payments dashboard by hand. Hardhat starts at Free and Modern Treasury at On request.
Which is cheaper, Hardhat or Modern Treasury?
Hardhat has a free tier; the other does not. Paid plans start at Free for Hardhat and On request for Modern Treasury.
Does Hardhat or Modern Treasury run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Hardhat for free?
Yes. Hardhat has a free tier, so you can try it without paying. Modern Treasury starts at On request.
What is Hardhat best used for?
Hardhat is most often used for testing solidity contracts, deploying contracts across networks, debugging reverts with stack traces, fuzz testing contract logic. Of those, testing solidity contracts and deploying contracts across networks are not what Modern Treasury is typically brought in for.
What can Hardhat do that Modern Treasury cannot?
Hardhat covers Solidity tests on Rust runtime, TypeScript tests with viem or ethers, Fuzz testing, Solidity stack traces. Modern Treasury covers Multi-rail payment initiation, Bank connectivity, Ledgers, Automatic reconciliation.

Answered from the vendors’ own pages

Hardhat: Is Hardhat free?

Yes. It is distributed as open source on GitHub and installed through Node.js tooling.

Source
Modern Treasury: Is Modern Treasury a bank or a banking as a service provider?

Neither. You hold your own bank accounts and it is software over them. That avoids sponsor bank concentration risk but means you need the bank relationship yourself.

Hardhat: What does Hardhat 3 add?

A Rust-powered runtime for Solidity tests, TypeScript tests, fuzzing and OP Stack and Base simulation.

Source
Modern Treasury: What does it cost?

Not published. A platform access fee plus usage fees across rails, on an annual term with a single minimum commitment. Negotiate the minimum, not the per-transaction rate.

Hardhat: What do I need to run it?

Node.js v22.13.0 or later.

Source
Modern Treasury: Which rails are supported?

ACH, wires, RTP, FedNow, push to card, cheques and stablecoin payments, subject to what your bank supports.

Hardhat: How are contracts deployed?

With Hardhat Ignition, which runs declared deployments and parallelises execution.

Source
Modern Treasury: Do we still need our own compliance programme?

Yes. KYB, KYC and transaction monitoring are included in the platform, but you are the one holding the accounts and the regulatory obligation sits with you and your bank.

Share

Related pages

Other head to heads