How it works?
Cray simplifies cross-chain payments by abstracting the complexities of multiple blockchains, fragmented tokens, and gas fees. It enables seamless transactions across ecosystems, bridging the gap between users, merchants, dApps, and chains.
1. Orderflow Layer
The Orderflow Layer receives user payment intent from wallets, dApps, or businesses and routes the transaction accordingly.
Users always pay in stablecoins from their source chain.
Receivers can get paid in any token on their preferred destination chain.
Cray automatically determines the route based on the sender’s available balance across chains.
Example: A user wants to pay $11 to Bob. Cray checks the available balances say—7 USDC on Arbitrum and 8 USDC on Base—determines the optimal chain and token for the payment, and generates an order hash for signing.
2. Order Signing
The user signs the order hash, which verifies their intent and secures the transaction.
Works with both Externally Owned Accounts (EOAs) and Smart Contract Accounts (SCAs).
Ensures that the payment process is non-custodial.
3. Payment Protocol
Cray ensures seamless cross-chain payments by leveraging resolver, who facilitate transactions without requiring users to manage gas fees or liquidity across chains.
Order Creation
Users funds are transferred to gateway contract on source chain
Instant Settlement by Resolver
The resolver immediately provides funds to the recipient on destination chain.
This ensure near-instant payment completion without waiting for cross-chain transfer.
In return, resolver earns a small fee for taking risk.
Fund Safety
If the payment cannot be completed within a set time, the user can reclaim their funds back from the source chain.
Final Settlement
Once the payment is completed on the destination chain, the resolver sends a cross-chain message to the source chain.
This allows the resolver to retrieve the equivalent funds from the gateway contract on the source chain.
4. DeFi Intents Layer
Beyond p2p payments, Cray enables on-chain interactions on the destination chain, allowing users to execute any smart contract action seamlessly.
If a token swap is required, it happens on the destination chain to optimise for slippage and efficiency.
Users don’t have to worry about gas fees, swaps, or chain complexities—Cray handles everything in the background.
Last updated
Was this helpful?