Skip to content
FLOWMINT

FLOWMINT

Tokenize Your Future Revenue

Created on 6th September 2025

•

FLOWMINT

FLOWMINT

Tokenize Your Future Revenue

The problem FLOWMINT solves

FlowMint provides a decentralized solution that connects creators and investors through a transparent and automated system.

Creators can tokenize and sell a portion of their future revenue to raise capital.

Investors can purchase these tokens as NFTs, representing a direct share in the creator's future earnings.

The BlockDAG structure gives investors a simple, transparent, and direct way to invest in a creator's future success.

Challenges we ran into

1.⁠ ⁠Config file type mismatch
• Our project’s package.json (from Hardhat v3) forces ESM only ("type": "module" is required).
• But our config was hardhat.config.js using CommonJS require.
• Error: Error HH19: Your project is an ESM project ... uses the .js extension.

2.⁠ ⁠Mixed CommonJS vs ESM
• We renamed config to .cjs and used require in deploy scripts.
• Node + Hardhat v3 don’t allow mixing.
• Error: ERR_REQUIRE_ASYNC_MODULE and later ERR_REQUIRE_CYCLE_MODULE.

3.⁠ ⁠Corrupted package.json
• At one point, the root package.json accidentally got overwritten with JS code instead of JSON, which broke Node’s package resolution and added confusion.

4.⁠ ⁠Wrong Hardhat toolbox plugin
• We had @nomicfoundation/hardhat-toolbox-viem in devDependencies.
• That package uses require internally, conflicting with Hardhat’s ESM requirement.
• This caused the persistent ERR_REQUIRE_CYCLE_MODULE error even after we fixed scripts/config.

Tracks Applied (1)

DeFi projects leveraging BlockDAG technology.

FlowMint is a sophisticated DeFi application that creates a new, tokenized asset class derived from a creator's future r...Read More

Blockdag

Discussion

Builders also viewed

See more projects on Devfolio