Transcript · English → Spanish
Understanding Single Asset Vaults on XRP Ledger
Bóveda de un solo activo en el XRP Ledger.
Aquí está el desglose de tres minutos que empieza ahora.
Quizá hayas visto protocolos que reciben fondos de usuarios
y pagan rendimientos a
cambio. Pero al construir algo similar en el
XRP Ledger, ¿cómo
se supone que funciona? Todo empieza con el dinero en sí.
¿De dónde proviene y quién paga el rendimiento que obtienes?
Este video responde a lo primero. El dinero proviene de un fondo común.
Veamos cómo funciona.
Imagina a una persona prestándole directamente a un prestatario.
Funciona, pero es lento y riesgoso. El prestamista debe encontrar un prestatario,
confiar solo en esa persona y esperar a que le pague antes de que el dinero pueda
usarse
de nuevo. Así que, en su lugar, muchas personas ponen su dinero en un
fondo compartido.
Ahora las ventajas cambian. Siempre hay dinero listo para prestar.
Cualquiera puede participar, incluso con una pequeña cantidad.
En lugar de financiar un préstamo entero en solitario.
Los prestatarios recurren a un gran fondo y pueden financiarse de
inmediato, y es sencillo. Solo ingresas dinero y lo retiras
después, sin lentas transferencias bancarias que tardan días en liquidarse.
Y el fondo nunca se detiene. Al pagar los prestatarios, ese dinero
se vuelve a prestar una y otra vez. En el XRP Ledger, este
fondo común se llama bóveda.
Veamos esa bóveda de cerca. Alice es una depositante.
Quiere obtener un rendimiento por su dinero prestándolo.
Deposita cien mil RLUSD en la bóveda.
Detrás de escena, la bóveda es una cuenta especial en el libro mayor
que custodia
el dinero común de todos. A cambio, recibe participaciones.
Piensa en las participaciones como un recibo que indica cuánto del fondo le pertenece.
En el primer depósito, es sencillo.
Las participaciones equivalen a lo que depositó.
Ahora se une una segunda depositora. Diana deposita cincuenta mil
RLUSD en el fondo y recibe cincuenta mil participaciones a
cambio.
Así, lo que posee cada persona es solo su parte del total.
Alice tiene cien mil de las ciento cincuenta mil participaciones.
Eso son dos tercios del fondo. Diana posee el otro tercio.
Esta es la bóveda de un solo activo. Una bóveda contiene un solo activo.
Puede ser XRP, un token emitido o un token multiuso.
He aquí por qué alguien depositaría en primer lugar.
Por sí sola, la bóveda es solo dinero que no se mueve,
y no genera nada.
Solo genera rendimientos cuando ese dinero se pone a trabajar mediante una
primitiva de XRPL generadora de rendimientos,
como el protocolo de préstamos que lo presta con intereses,
así como otras
primitivas futuras en XRPL. Esto genera rendimiento
con activos inactivos en cadena. Cuando el fondo gana dinero
con los intereses de
los préstamos, el valor total del fondo sube,
pero la cantidad de
participaciones no cambia, por lo que cada una vale más.
Para retirar fondos, canjeas tus participaciones.
Lo que recibes es tu parte del fondo: tus participaciones entre el total
por el valor del fondo. Alice posee dos tercios.
Dos tercios de ciento sesenta y cinco mil RLUSD
son ciento diez
mil. Ella depositó cien mil,
así que ha ganado diez
mil RLUSD solo por suministrar liquidez.
Otro punto importante para las instituciones:
una bóveda puede ser pública, donde cualquiera
puede depositar, o puede ser privado, restringido por un dominio con permisos.
Solo participantes autorizados pueden entrar, lo cual es útil para
instituciones reguladas.
Esa es la bóveda: muchos depositantes, un fondo y cuotas que aumentan de valor.
Pero un fondo sin movimiento no genera nada.
Así que alguien tiene que prestarlo. ¿Cómo funcionaría eso?
Eso es exactamente lo que cubre el protocolo de préstamos XLS-66.
Vamos a verlo en el próximo video.
End of transcript · 618 words · machine translated
Original transcript (English)
Single asset vault on the XRP Ledger. Here's the three minutes long breakdown starting now. You might have seen protocols that take in user funds and pay out yield in return. But when we build something similar on the
XRP Ledger, how is that supposed to work? It starts with the money itself. Where does it come from, and who pays the yield you earn? This video answers the first one. The money comes from a pool. Let's see how that works.
Imagine one person lending directly to one borrower. It works, but it is slow and risky. The lender has to find a borrower, trust just that one person, and wait to be repaid before the money can be used again. So instead, many people put their money into one
shared pool. Now the advantages flip. There is always money ready to lend. Anyone can take part, even with a small amount. That's instead of funding a whole loan alone. Borrowers draw from one large pool and can be funded right
away, and it is simple. You just put money in and redeem it later with no slow bank wires that take days to settle. And the pool never sits still. As borrowers repay, that money is lent out again over and over. On the XRP Ledger, this shared pool is called a vault.
Let's look at that vault closely. Alice is a depositor. She wants to earn a return on her money by lending it out. She deposits one hundred thousand RLUSD into the vault. Behind the scenes, the vault is a special account on the ledger that holds
everyone's pooled money. In return, she gets shares. Think of shares as a receipt that says how much of the pool she owns. On the very first deposit, it is simple. Shares equal the amount she put in. Now a second depositor joins. Diana deposits fifty thousand
RLUSD into the pool and receives fifty thousand shares in return. So what each person owns is just their share of the total. Alice holds one hundred thousand of the one hundred and fifty thousand shares. That is two-thirds of the pool. Diana owns the other third.
This is the single asset vault. One vault holds one asset. It can be XRP, an issued token, or a multipurpose token. Here is why anyone would deposit in the first place. On its own, the vault is just money sitting still, and it earns nothing.
It becomes yield-bearing only when that money is put to work by a yield-generating XRPL primitive, such as the lending protocol that lends it out at interest, as well as other future primitives on XRPL. So this activates yield on idle
assets on-chain. When the pool earns money from that interest on loans, the total value of the pool goes up, but the number of shares stays the same, so each share is now worth more.
To cash out, you redeem your shares. What you get back is your slice of the pool, your shares divided by total shares times the pool's value. Alice owns two-thirds. Two-thirds of one hundred and sixty-five thousand RLUSD is one hundred and ten
thousand. She deposited one hundred thousand, so she has earned ten thousand RLUSD just by supplying liquidity. One more thing that matters for institutions, a vault can be public where anyone
can deposit, or it can be private, gated by a permissioned domain. Only approved participants can join, which is useful for regulated institutions. So that is the vault. Many depositors, one pool, shares that grow in value. But a pool just sitting there earns nothing.
So someone has to lend it out. How would that work? That is exactly what the XLS-66 lending protocol covers. We are going to have a look at it in the next video.