HikariSwapDocs

Fees

HikariSwap charges two fees, and only two. Every other surface is free at the protocol level — you pay only network gas.

Swap fee — 0.35%

Every swap routed through HikariRouter is charged a 0.35% fee on the input amount, applied before the constant-product math runs.

ComponentRateRecipient
LP fee0.25%LPs in the pool the swap touches
Protocol fee0.10%HikariFeeCollector (accrued as LP tokens)
Total0.35%

The protocol fee is captured the same way Uniswap V2 captures feeTo revenue — by minting LP tokens to the fee recipient on each mint / burn, so the protocol share grows proportionally and never skims LP swap fees.

The math

The pricing formula, including the fee, lives in HikariLibrary.getAmountOut:

amountInWithFee = amountIn * 9_965
amountOut       = (amountInWithFee * reserveOut)
                  / (reserveIn * 10_000 + amountInWithFee)

The constants 9_965 / 10_000 encode the 35-bps haircut. There is no other fee path, no priority lane, and no router rebate.

Token-creation fee — paid in LCAI

Deploying a token through HikariTokenFactory requires a flat LCAI fee per archetype. The fee is forwarded to HikariFeeCollector in the same transaction — the factory never custodies funds across calls.

Current price (Mainnet, chainId 9200)

ArchetypeCurrent price
Standard50,000 LCAI
Mintable50,000 LCAI
Burnable50,000 LCAI
Tax50,000 LCAI

The live values are always readable on-chain via HikariTokenFactory.price(uint8 tokenType) where tokenType is 0 Standard, 1 Mintable, 2 Burnable, 3 Tax.

Immutable bounds

Each archetype price can be tuned by the owner, but only within a hard band baked into the contract:

BoundValueWhere
MIN_PRICE10,000 LCAIHikariTokenFactory.MIN_PRICE() (immutable, set at deploy)
MAX_PRICE500,000 LCAIHikariTokenFactory.MAX_PRICE() (compile-time constant)

Even with a fully compromised owner key, no archetype price can be set outside [MIN_PRICE, MAX_PRICE]. The setter — setPrice(uint8 tokenType, uint256 newPrice) — reverts otherwise, and emits a PriceChanged event on success so price changes are publicly auditable.

Testnet (chainId 8200)

Testnet ships with MIN_PRICE = 0 and all archetype prices = 0 so deployment is free. This is deliberate — testnet is a sandbox, not a revenue surface.

What you don't pay for

Routing decisions are made by the user, not by HikariSwap. There are no priority lanes, MEV kickbacks, or "router fees" beyond the 0.35% swap fee.