CryptMeUp logo

Knowledge Bank

Manuals, blockchain references, and extra knowledge

Smart contract

The CryptMeUp Polygon smart contract is the onchain payment contract we use to process Polygon payments without taking custody of user funds. It follows the same direct settlement model as our Base contract, with a simple and deterministic payment split.

For native Polygon payments, the contract receives the payment amount directly as msg.value in POL. For supported ERC20 payments such as ETH, USDC, and USDT on Polygon, the contract uses the approved token amount and executes the split onchain.

The payer only sends the total amount that belongs to the payment. The contract calculates the fixed 0.1% fee internally. The remaining 99.9% is routed to the merchant wallet. The 0.1% fee is routed to the configured fee wallet.

This contract exists so the fee rule does not have to be trusted to the frontend or to offchain calculations during live settlement. That keeps the split rule stable, visible, and easier to audit from the chain itself.

The contract is also non-custodial. CryptMeUp does not ask users to first send funds into a platform wallet. The contract only executes the payment split that belongs to the active Polygon payment flow.

For ERC20 payments, an approval step is required before payment. This is standard token behavior on EVM chains. The approval allows the contract to pull only the amount needed for that payment and split it between the merchant and the fee wallet.

On the verification side, our backend checks the transaction target, the called method, the native or token amount, and the resulting transfer logs. That keeps the blockchain transaction itself as the source of truth for settlement.

You can inspect the live Polygon mainnet contract on PolygonScan.

0xFb0535d87a297a2d6b5CFF6bA02c465DBA925700

  • Non-custodial payment execution.
  • Fixed 0.1% fee calculated inside the contract.
  • Deterministic merchant and fee split.
  • Onchain verification against real transaction data and logs.