Peer-to-peer lending using native Coreum token primitives.
Collateral is frozen, not transferred. Default recovery via clawback.
The entire lifecycle runs without smart contracts.
Native Coreum Smart Token features replace the need for smart contract escrow. The issuer's freeze/clawback authority acts as the enforcement mechanism.
Loan Repaid Successfully
Collateral unfrozen via MsgUnfreeze. Borrower's 1,000 TXAI is freely transferable again.
No funds were lost. The loan completed its full lifecycle without any smart contract.
Loan Defaulted — Collateral Clawed Back
Repayment deadline passed. MsgClawback recovered 1,000 TXAI from borrower's wallet to the lender.
Enforcement was automatic and trustless — no intermediary needed.
4 Event Log
Real-time log of every action in the simulation, including the Coreum message types used.
[ready]Waiting for simulation start...
5 Why No Smart Contracts?
Traditional DeFi lending (Aave, Compound) requires complex Solidity or CosmWasm contracts
to hold collateral and enforce liquidation. Bugs in these contracts have caused
billions in losses.
TXAI uses Coreum's native Smart Token features instead:
MsgFreeze
Locks tokens in the holder's wallet. They can't transfer or trade. The issuer controls the lock.
MsgUnfreeze
Releases frozen tokens. Used when the borrower repays the loan on time.
MsgClawback
Recovers tokens from any holder. Used to seize collateral on default. No contract needed.
Auto-Default Timer
Server-side countdown. When it hits zero, MsgClawback fires automatically. No oracle needed.
Try It in the Agent Studio
The lending agent is available as chat tools. Ask the AI to create a loan, freeze collateral, or simulate a default.