The Uniswap Project

We launched this coin on every blockchain and made them copy our bnb coin's marketcap

GITHUB X.COM
Scroll to learn more

How It Works

The Mirror Project synchronizes market capitalization across multiple blockchain networks by leveraging Uniswap as the source of truth. Each launchpad receives real-time metadata from Uniswap pools, ensuring that the market cap remains consistent regardless of which blockchain the coin is traded on.

This cross-chain synchronization is achieved through oracle networks that continuously monitor Uniswap liquidity pools and broadcast pricing data to smart contracts deployed on each supported blockchain. The result is a unified market cap that reflects true multi-chain liquidity.

UNISWAP PRICE FEED

const fetchUniswapPrice = async (tokenAddress) => {
  const pair = await factoryContract.getPair(
    tokenAddress,
    WETH_ADDRESS
  );
  
  const reserves = await pairContract.getReserves();
  const price = reserves[1] / reserves[0];
  
  return price;
};

CROSS-CHAIN SYNC

function syncMarketCap(uint256 uniswapMcap) external {
  require(msg.sender == oracle, "Unauthorized");
  
  uint256 totalSupply = token.totalSupply();
  uint256 targetPrice = uniswapMcap / totalSupply;
  
  emit MarketCapSynced(uniswapMcap, targetPrice);
}