Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [trustline]

For questions regarding the use of trustlines within Stellar.

0
votes
1answer
26 views

Testing custom asset with trustlines that must be allowed - can't send tokens from distribution account

I am trying to test the creation of a custom asset - with trustlines that must be authorized by the issuer. My issuing account (GDQMWZ7XBRY55BU4XQ7FZXFBCUXA2YU2KGPQ7JFZOU3ACXR2ARJAAS36) has ...
0
votes
2answers
37 views

How to do Multiple ICO for an Asset with KYC support?

Scenario: Consider that there are total 100,000 tokens. Now 2 ICO's are to be carried out to sell these tokens for different rates. KYC is required in both the ICO's. ICO 1 20,000 tokens sold @ 1 ...
1
vote
3answers
61 views

Is it possible to change the asset issuer?

After issuing the asset I need to change the asset issuer, all trustors will remain trusting the same asset but the issuer is diffrent. scenario- issuer 1 - issued asset Dummyasset now need to ...
0
votes
1answer
41 views

Trustline for account purchasing an asset on an exchange

I have so far found out that an account needs to have a trustline for an asset if it is to receive a payment of that asset (from a given issuing account). Does an account need a trustline for an ...
1
vote
2answers
36 views

Error while submitting change trust transaction

I created an anchor account which issues USD asset. It worked properly. But now when I modify the program where the anchor issues one more asset called INR and I am creating a trustline for both the ...
1
vote
1answer
54 views

What is the minimum balance required to create a trustline between accounts?

I just attempted to create a trustline between 2 accounts, both with 1 XLM balance, but the transaction failed due to insufficient balance. I hadn't seen anything that there needed to be an ...
2
votes
2answers
130 views

How should the changeTrust Operation be used?

If I want to create a trustline between my issuing account and new users accounts, how do I do this. I tried with this code: const StellarSdk = require('stellar-sdk'); StellarSdk.Network....
3
votes
1answer
50 views

How to use the Stellar SDK API Reference?

I am trying to understand how the API reference is meant to be used. For example I want to see how to set up a trust line for an account using the changeTrust() operation. I went to the API ...
6
votes
2answers
733 views

Do I recover my .5 lumens when changing trust to delete a trustline?

I wanted to hold and trade 5 assets. It will cost me 2.5 XLM in the min-reserve to create these trustlines alone. If I am done with 2 assets and now want to only hold 3, I can delete 2 trustlines. ...
2
votes
3answers
178 views

How to check Trustline Authorized Flag?

I need to check if an account trustline is authorized or not (before payment) Eg: this account https://horizon-testnet.stellar.org/accounts/GDT43XDX4VP7JPJUXRZO7JJH4PHJRCXYFPJA5PJPQC4MLLTF6PEEY5JU ...
2
votes
1answer
176 views

Stellar: How to pay the account using custom asset?

I've created accountA with a custom asset code ASTRO and trust by issuing account(AA). Next, I created another accountB with asset ASTRO trust by issuing account(AA). Now, when I tried to create a ...
5
votes
2answers
141 views

Trusting non-native asset distribution

If two non-issuing accounts, x and y, want to share an asset, must they trust the asset issuing account, a? Or can a trust line be created between x, y and a distribution account, b? My (current) ...
3
votes
1answer
61 views

List All Un-authrorized Truslines

I want to activate AUTHORIZATION REQUIRED and AUTHORIZATION REVOCABLE flags on my asset issuing account. How can I get list of all unauthorized trustlines after I activate those two flags? I have my ...
3
votes
3answers
565 views

How to decode XDR of the result_xdr

So my code is: envelope = Te(tx=tx, opts={"network_id": "TESTNET"}) envelope.sign(receiving_account) xdr = envelope.xdr() response = horizon.submit(xdr) # TO DO: Have to check if done well print('...
3
votes
2answers
85 views

Is it possible to have several issuers of an Asset?

I would like to use an asset as sort of a "counter". I would have several accounts that get authorized to be counters, and they can create and send assets to a single account that is collecting all ...
3
votes
2answers
165 views

What happens to trustline to account that has been merged?

If asset issuer account has been merged with another account what happens to assets by the account and trustlines created to that account?
1
vote
1answer
157 views

How do I see trustline subentries in an account?

Are trustline sub entries about trustline created to asset issued by my account or the trustline I have created to other assets of different accounts?
4
votes
1answer
155 views

How does an issuer manage trustlines when authorization is required?

If someone issues an asset from an account where AUTHORIZATION_REQUIRED is set to True, how does a new account wishing to hold that asset initialize getting the trustline setup? Is it up to the owner ...
2
votes
1answer
192 views

How to find all trustees to an asset issuing account?

The goal is to find all trustees to an asset issuing account for said asset. Example: Account 1 issues paperToken Account 2, 3, and 4 establish trustlines to the issuer of the paperToken asset How ...
2
votes
1answer
53 views

Can the issuer limit the amount an individual trustor can hold?

Is it possible for the issuer to control the maximum balance of (individual) trustors?
4
votes
1answer
162 views

What does error “tx_insufficient_balance” mean for Change Trust?

I have created an issuing account and a distributing account for a new token. I changed trust and sent a payment of 144,000 of this token from the issuing account to the distributing account. I ...
1
vote
1answer
127 views

Trustee vs trustor in allow trust operation

When it comes to trust lines, I had assumed the trustor is the account trusting the asset and trustee is the issuing account. This supposition is backed up by the horizon API responses. In the XDR ...
2
votes
1answer
61 views

Reserve Balance Increase for Each Trustline?

Is there an additional reserve balance required for "each trustline created",above the standard to create an account, or has this been eliminated?