Questions tagged [trustline]

For questions regarding the use of trustlines within Stellar.

Filter by
Sorted by
Tagged with
1 vote
0 answers
13 views

remove token from wallet - transaction blocked by issuer

I've got a fishy token in my wallet that I can not remove or send to anybody, because the issuer has blocked my account for sending this asset. How do I get rid of such assets? My XLM are blocked and ...
user avatar
0 votes
1 answer
24 views

How can I overwrite all trustline flags?

I'm trying to overwrite the current trustline flags, but I have issues with that. I keep getting setTrustLineFlagsMalformed, but I don't know why. Am I using this function wrong? tx....
user avatar
1 vote
0 answers
23 views

Understanding behavior of stellar API result codes

I am facing a challenge with stellar APIs while transferring funds from one wallet to another. The API fails with status 400 and the result code is 'op_no_trust'. I can verify that the destination ...
user avatar
0 votes
0 answers
40 views

Frustrated Newbie here. Transferred XLM from Coinbase but account in Trust Wallet isn’t activated? Please be specific with answer

I transferred some XLM from Coinbase to my Trust Wallet. There is still XLM left in the Coinbase account, a couple hundred $’s worth of it. But the Trust Wallet says the XLM needs to be activated ...
user avatar
0 votes
0 answers
16 views

Stellar Toml file on sub domain

How much of a problem is it is i have my toml file on a sub domain into of the domain I created the tokens under. Do people really care about that as a problem. Or if I recreat the tokens using the ...
user avatar
3 votes
1 answer
50 views

Can sponsor remove sponsored subentries?

Is it possible to remove a sponsored entry from only the sponsor? So if I have account A that sponsors a trustline for account B, then can account A remove the sponsor without the signature from ...
user avatar
  • 163
0 votes
1 answer
69 views

Authorize a trustilne for an account before a trustline is set up

Is there a mechanism for an asset issuer to authorize a trustline to a wallet before the wallet establishes a trustline? Use case: Bob wants to hold a regulated asset. This asset requires ...
user avatar
0 votes
3 answers
555 views

How to remove a trustline of a locked account?

I have a trustline* which I can't remove because it has assets with non zero balance. The assets are "frozen" so I can't move them to apply the trick mentioned in "https://stellar....
user avatar
  • 103
0 votes
0 answers
25 views

Trust Limit Issue

I am running my own stellar private network and have one account of this network. Issued one asset called "FOO" to this account which limit is 9999999999. After funding to this asset for few ...
user avatar
2 votes
0 answers
97 views

How can Revoke an existing Trustline of an Asset for a specific Account?

I'm a bit confused about how can an Anchor, Revoke an existing Trustline of an Asset for a specific Account? I'm using https://github.com/StellarCN/py-stellar-base, so it supposed to be done by ...
user avatar
  • 25
0 votes
1 answer
48 views

How to retrieve a list of "pending Truslines" to verify?

Assume I have a [Custom Asset] that either or both of it's [Issuer/Distributor] Account(s) [Authorization required] Flag set to True. How can I fetch a list of [Pending Trustlines] for my [Asset] in ...
user avatar
  • 25
1 vote
1 answer
671 views

How to Remove an Asset with No Issuer?

I have an asset in my Stellar wallet, LTZ, which has had the issuing account deleted. I cannot send this asset out of my account, nor can I trade it, and likewise I cannot remove the trustline until ...
user avatar
0 votes
1 answer
88 views

Getting exception while establishing Trust Line

I am working on Stellar Python SDK after a year. When I ran my old script I got the error: TypeError: __init__() got an unexpected keyword argument 'opts' The code given below: from stellar_base....
user avatar
  • 205
1 vote
1 answer
50 views

Viewing trustlines for authorization required assets from an asset issuer perspective

From an asset holder perspective seeing which trustlines are approved or unapproved for authorization required assets is straightforward - we can see this with the is_authorized boolean on the account ...
user avatar
  • 207
1 vote
1 answer
63 views

Custom asset - Limit/control wallet balances?

Is it possible, or on the roadmap, to limit the balance of a custom asset in a wallet? This would be a great feature, in that smaller transaction/balances don’t always have the same level of KYC as ...
user avatar
  • 119
1 vote
1 answer
148 views

Which USD token to recommend to friends?

I notice that both USD/x.token.io and USD/www.anchorusd.com have significant usage. I'm not sure what to tell friends looking to: convert XLM into USD tokens have a single USD trustline to accept (...
user avatar
  • 111
0 votes
1 answer
53 views

How to send a custom token to a exchange stellar wallet, Plz help?

I can create tokens on Stellar but I'm facing a serious issue and I'm really frustrated plz help me. So, I successfully created a Token on Stellar named "TBTC" and it's in the distribution wallet ...
user avatar
2 votes
1 answer
343 views

How to create trustline between issuer's account and receivers accounts dynamically?

I am trying to create a trustline between issuer's account and receiver's account to send Custom Assets(token) I am following this link var StellarSdk = require('stellar-sdk'); StellarSdk.Network....
user avatar
1 vote
1 answer
88 views

Mutiple opearations in single transaction

let 4 accounts are there. The first one (customer) is creating trust with second account (distributor) which sending him 5 assets token. Now what i want is that the third account(having lots of same ...
user avatar
1 vote
2 answers
236 views

How does "accept all assets" federated address in Lobstr work?

in the web interface for lobstr, they tell to to use this federated address for receiving any asset, even if you don't have a trustline. I thought that's impossible. How is that done? I thought I ...
user avatar
0 votes
1 answer
217 views

Paying with Custom Tokens

UPDATE: I removed the quotes from BPTOKEN. That was a mistake. I had them removed in the real code but cut and pasted a change before this happened. It has been corrected and the error included. ...
user avatar
2 votes
1 answer
363 views

How to evaluate trustlines?

I read about trustlines here. But in implementation, how do you make trust decisions, and what can go wrong if you're wrong? In practice: how can you measure whether a counterparty is someone who ...
user avatar
1 vote
1 answer
136 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 ...
user avatar
  • 119
0 votes
2 answers
77 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 ...
user avatar
1 vote
3 answers
120 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 ...
user avatar
0 votes
1 answer
81 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 ...
user avatar
2 votes
2 answers
189 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 ...
user avatar
1 vote
1 answer
119 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 ...
user avatar
3 votes
3 answers
592 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....
user avatar
4 votes
1 answer
115 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 ...
user avatar
6 votes
2 answers
1k 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. ...
user avatar
  • 63
2 votes
3 answers
494 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 ...
user avatar
  • 143
3 votes
1 answer
348 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 ...
user avatar
6 votes
2 answers
454 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) ...
user avatar
4 votes
1 answer
96 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 ...
user avatar
4 votes
3 answers
2k 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('...
user avatar
  • 205
3 votes
2 answers
145 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 ...
user avatar
3 votes
2 answers
438 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?
user avatar
1 vote
1 answer
281 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?
user avatar
6 votes
2 answers
284 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 ...
user avatar
3 votes
1 answer
381 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 ...
user avatar
2 votes
1 answer
80 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?
user avatar
  • 43
4 votes
1 answer
596 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 ...
user avatar
  • 205
1 vote
1 answer
229 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 ...
user avatar
  • 3,357
2 votes
1 answer
87 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?
user avatar
  • 133