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.
| Component | Rate | Recipient |
|---|---|---|
| LP fee | 0.25% | LPs in the pool the swap touches |
| Protocol fee | 0.10% | HikariFeeCollector (accrued as LP tokens) |
| Total | 0.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)
| Archetype | Current price |
|---|---|
| Standard | 50,000 LCAI |
| Mintable | 50,000 LCAI |
| Burnable | 50,000 LCAI |
| Tax | 50,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:
| Bound | Value | Where |
|---|---|---|
MIN_PRICE | 10,000 LCAI | HikariTokenFactory.MIN_PRICE() (immutable, set at deploy) |
MAX_PRICE | 500,000 LCAI | HikariTokenFactory.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
- Adding or removing liquidity — gas only.
- Token approvals — gas only.
- Reading state via the public RPC — free.
- Locking or burning LP through
HikariLocker— gas only.
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.