Tuesday, November 4, 2025

blockchain – tecPATH_DRY on Cost from Sizzling Pockets to a brand new pockets on XRP Ledger

I’m comparatively new to Blockchain and XRPL.

What I’m making an attempt to do is:

I create a chilly pockets and subject a IOU.
I create a scorching pockets and create trustline with chilly pockets with chilly pockets as issuer.
I make cost from chilly pockets to scorching pockets

All the pieces works tremendous up to now.

Then I create a brand new pockets and set a trustline with chilly pockets as issuer.
I then attempt to make a transaction from scorching pockets to the brand new pockets with chilly pockets as issuer. I get tecPATH_DRY and a few occasions tecPATH_PARTIAL

Account set for decent pockets

AccountSet(
            account=pockets.deal with,
            set_flag=AccountSetAsfFlag.ASF_REQUIRE_AUTH,
        )

Account Set for chilly pockets

AccountSet(
            account=pockets.deal with,
            transfer_rate=transfer_rate,
            tick_size=tick_size,
            area=bytes.hex(area.encode("ASCII")),
            set_flag=AccountSetAsfFlag.ASF_DEFAULT_RIPPLE,
        )

Trustic

TrustSet(
            account=requester_wallet.deal with,
            limit_amount=IssuedCurrencyAmount(
                foreign money=currency_symbol,
                issuer=cold_wallet.deal with,
                worth=trust_limit,
            )
        )

Cost from scorching to purchaser/new pockets

Cost(
                account=hot_wallet.deal with,
                vacation spot=buyer_wallet.deal with,
                quantity=IssuedCurrencyAmount(
                    foreign money=currency_code,
                    issuer=cold_wallet.deal with,  # Chilly pockets is the issuer of the foreign money
                    worth=str(amount)
                )
            )

I’ve verified:

  • Trustline between cold and hot exists with sufficient restrict
  • Trustline between scorching and purchaser exists with sufficient restrict
  • Sizzling pockets have sufficient credit score.

Can somebody please level out what am I lacking right here?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Stay Connected

0FansLike
0FollowersFollow
0SubscribersSubscribe
- Advertisement -spot_img

Latest Articles