Escrow USDC (devnet)
PROGRAM_ID_STR (editar):
Conectar Phantom
Wallet:
-
Instrucción: initialize (crear escrow y depositar)
Seller Pubkey:
Arbiter Pubkey:
USDC Mint:
Amount (in smallest units, e.g., 1000000 = 1 USDC si decimals=6):
Deadline (unix timestamp):
Initialize & Deposit
Instrucción: confirm_delivery (comprador confirma entrega)
Escrow account pubkey:
Seller ATA (token account):
Arbiter ATA:
Confirm Delivery
Instrucción: refund (comprador reclama reembolso tras deadline)
Escrow account pubkey:
Buyer ATA:
Request Refund
Instrucción: resolve_dispute (árbitro decide)
Escrow account pubkey:
Release to seller?
Sí (seller)
No (refund buyer)
Seller ATA:
Buyer ATA:
Arbiter ATA:
Resolve Dispute
Estado: cuentas de Escrow asociadas a la wallet
Fetch Escrow Accounts (filtradas por wallet)
Logs
Inicie sesión con Phantom y use las acciones.