Skip to main content

Documentation Index

Fetch the complete documentation index at: https://actfudoc.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Once a token’s mining phase is complete, it graduates automatically and a built-in constant-product AMM (automated market maker) goes live inside the same contract. No external DEX, no bridging you trade directly through the token’s launcher contract on Arc Testnet.

Before you start

Trading is only available after graduation. A token graduates when 95% of its supply has been mined. Look for the green Graduated badge on the token card or detail page. If the badge is not present, the token is still in the mining phase and the swap panel is not yet available.

How the AMM works

ACTFUN uses a constant-product formula: x * y = k, where x is the USDC reserve, y is the token reserve, and k remains constant after each trade.
  • Buying sends USDC in and receives tokens out: tokensOut = arcIn × tokenReserve / (arcReserve + arcIn)
  • Selling sends tokens in and receives USDC out: arcOut = tokensIn × arcReserve / (tokenReserve + tokensIn)
The pool is seeded at graduation with the 5% LP reserve tokens and all USDC fees collected during mining. There are no additional fees on top of gas.
Large trades move the price significantly because the pool starts relatively small. Check the estimated output before confirming — a trade that is a large fraction of the pool’s reserves will experience high price impact.

Read the price chart

On any graduated token’s detail page, a price chart appears above the stats grid. The chart shows historical trade prices derived from on-chain swap events. Use it to see how the token price has moved since graduation.

Buy tokens

Buying requires one transaction. You send USDC and receive tokens in a single call.
1

Open the token's detail page

Navigate to actfun.xyz, find the graduated token you want, and click its card to open the detail page.
2

Select Buy in the swap panel

The swap panel on the right side of the page defaults to the Buy tab. Enter the amount of USDC you want to spend.
3

Review the estimated output

The panel shows the estimated number of tokens you’ll receive, calculated using the AMM formula against the current pool reserves. This estimate is what you’d get at the current price with zero slippage.
4

Set your slippage tolerance

The swap sends a minTokensOut parameter to the contract. If the price moves between when you submit and when the transaction confirms, and you receive fewer tokens than minTokensOut, the transaction reverts. The swap panel calculates this automatically from your slippage setting.
5

Confirm in MetaMask

Click Buy. MetaMask opens with the USDC amount as the transaction value. Click Confirm to submit. Tokens arrive in your wallet once the transaction confirms.

Sell tokens

Selling requires two transactions: first approving the launcher contract to spend your tokens (an ERC-20 approve call), then executing the sell. The swap panel handles both steps automatically.
1

Select Sell in the swap panel

Click the Sell tab in the swap panel. Enter the number of tokens you want to sell.
2

Review the estimated USDC output

The panel shows the estimated USDC you’ll receive based on the current pool state.
3

Click Approve

The panel shows an Approve button first. Click it and confirm the approval transaction in MetaMask. This authorises the launcher contract to transfer your tokens when you sell. Wait for this transaction to confirm before proceeding.
4

Click Sell

Once the approval confirms, click Sell and confirm the second transaction in MetaMask. The contract transfers your tokens into the pool and sends USDC to your wallet.
Slippage and price impact can cause you to receive significantly less than the displayed estimate, especially on large trades or in low-liquidity pools. For large sells, consider splitting into multiple smaller transactions to reduce price impact.