Skip to main content

How BlockFinaX uses Stellar

Every part of a protection contract's life runs on Stellar: the money, the rules, the signatures and the settlement rate. This section shows how, part by part.

USERSBLOCKFINAX SERVICES · OFF-CHAINSTELLAR · PROTOCOLCIRCLE CCTPBASE · FUNDINGBusinesshedgerUnderwriterand creatorPartner appExchangeor any walletPasskeysignsAPI and relayersprepare · relay · fallback feesPricing enginefair price · signs quotesOracle operatorsrate after expiryFunding jobswatch · flush · mintSmart walletone per userCurrency poolCAEK…YURMPool oracleCBOX…4G5QUSDCStellar asset contractbuy_protection()deposit()request_withdrawal()execute_withdrawal()settle_position()claim_payout()create_pool()set_tenor()submit_rate()get_consensus()CctpForwarder (Stellar)mints and forwards USDCAttestation servicesigns each burnTokenMessengerV2 (Base)burns USDC on BaseDeposit factory0x0567…2291flush()addressFor()Your deposit addressone per user · only to your walletsignsauthorisesunsigned txsigned quote ←submit · fee paidsubmit_ratesettle_positionget_consensusmintmessageattestationflushcreates · burnsburnUSDC to your walletsend USDC on Base · nothing to signUser signsBlockFinaX submitsOracle and settlementCircle CCTPUSDC moves

The map shows what connects to what. For the order in which things happen, see the transaction lifecycle.

Stellar featureWhat BlockFinaX uses it for
Soroban smart contractsPools, protection contracts, collateral, settlement and the oracles
Stellar asset contract (SAC)USDC, moved with the standard token interface
Smart accounts with secp256r1Passkey wallets: one smart account per user, signed with the passkey on their device
OpenZeppelin smart accounts, context rules and policiesBusiness accounts: one shared account per business, with admin, operator and viewer roles enforced on chain
Authorization entriesEach user approves the exact contract call, which BlockFinaX then submits
Fee sponsorshipOpenZeppelin Relayer Channels pays network fees, with a BlockFinaX fee account as the fallback; users never hold XLM
Contract eventsThe app and indexers follow every pool, purchase and settlement
Circle CCTP on StellarUSDC arrives from and returns to Base