RugDealer prototype. No real money moves.Contract on the explorerEverything that happened

Stellar Testnet demo. A loan month lasts one minute here, and lira amounts use an approximate rate.

RugDealer
StoreWeaverInvestorPlatformActivity

Leave the rug at the store. Borrow its price today.

A weaver borrows what the store would pay for a finished rug. Repay, and the rug is theirs to sell to a real buyer for a better price. If they don't, the store buys the rug at that price and the investor is repaid from it.

See every loan so far

Pattern made from the certificate number, not a photo of the rug.

A rug a buyer would pay about 1,500 USDC for

The store would buy it for 600 USDC. The weaver borrows that for 6 months.

Investor lends
600.00 USDC≈ 27,000 TRY
Interest held for the investor
45.00 USDC≈ 2,025 TRY
Platform fee, once
6.00 USDC≈ 270 TRY
Store fee for holding the rug
9.00 USDC≈ 405 TRY
Weaver receives today
540.00 USDC≈ 24,300 TRY

How a loan ends

The weaver repays

Any time before the store buys the rug, the weaver pays back 600.00 USDC.

Weaver
Gets the rug back and sells it when a buyer comes. The loan cost 60.00 USDC.
Store
Earned 9.00 USDC for holding the rug.
Investor
Gets back 645.00 USDC (≈ 29,025 TRY).

The weaver doesn't repay

After the end date, the store has 7 days to buy the rug at the price it set.

Weaver
Keeps the 540.00 USDC and owes nothing more.
Store
Pays 600.00 USDC and owns the rug.
Investor
Gets back 645.00 USDC (≈ 29,025 TRY).

The store misses its buy-out too

If the store doesn't pay within its 7 days, the investor can take the rug instead.

Weaver
Keeps the 540.00 USDC and owes nothing more.
Store
Is frozen: it can't issue new certificates, and investors see the flag.
Investor
Takes the rug and the 45.00 USDC interest. The 600.00 USDC isn't paid back; the rug stands in for it.

Pick your desk

  • Rug storePrice rugs and write their certificates. Buy a rug when its loan isn't repaid. Hand rugs over.Demo: Kaya Rug House
  • WeaverBorrow against your rug, repay, and collect it when you're ready to sell.Demo: Ayşe the weaver
  • InvestorFund one loan, see what you'll earn, and take the rug if the store misses its buy-out.Demo: Deniz the investor
  • PlatformApprove stores, set how much each may have lent out, and freeze a store that breaks the rules.Demo: RugDealer platform