Jump to content

Different between Trustline and TrustSet?

Recommended Posts

I want to create a gateway of my own Currencies using Ripple. For that I need Account B trusts to Account A for 1 million USD within my gateway.

For that do I use Trustline and TrustSet? What is Different between Trustline and TrustSet?

Link to post
Share on other sites
4 hours ago, mDuo13 said:

The RippleAPI "Trustline" transaction is an alias in the JavaScript API for a TrustSet transaction on the protocol level.

That's a miss... we should consider submitting a PR that renames the transaction to TrustSet, to match the underlying code; the old name can remain but should be deprecated and the documentation should recommend that the new name be used.

Naming is hard but people get used to bad names. The real problem is when names are inconsistent; not only is it confusing, it's incredibly frustrating. We shouldn't be conflating a trustline (an actual object, on the ledger) with TrustSet (a transaction that can create, modify and delete trustlines). 


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.