Questions tagged [accounts]

Accounts are the central data structure in Stellar. Accounts are identified by a public key and saved in the ledger. Everything else in the ledger, such as offers or trustlines, are owned by a particular account.

Filter by
Sorted by
Tagged with
2 votes
1 answer
191 views

How to listening new XLM transaction for multiple accounts

I'm totally new in stellar network. I have experienced create transaction listener for bitcoin and ethereum by listen to every new transaction, if that transaction contain my address it send callback ...
Billy Adelphia's user avatar
4 votes
1 answer
66 views

Check with simple API request if account has received prior transactions

I want to check if a simple API request if an account has received prior transactions. I know that one has to do a transaction to "initialize the account" but how do I check if it has received any ...
Hans Tausend's user avatar
0 votes
1 answer
52 views

How to catch specific error code on JS SDK connecting to horizon

I use Javascript SDK to connect to Horizon. It works, but I also would like the specific error if it doesn't work. See my code below. How can I access the specific code returned from horizon (e.g. ...
bluesky's user avatar
  • 61
7 votes
2 answers
1k views

How can I close a Stellar Account?

According to the Minimum Account Balance information, the account has to have (2 + # of entries) * 0.5) XLM deposited to support transactions. Let's say there is an account with 0 trust lines and 1 ...
Robert Zaremba's user avatar
4 votes
1 answer
38 views

Merging account ACCOUNT_MERGE_DEST_FULL error case

I'm trying to understand the different scenarios where merging an account into another one produces an error case. For the most part, it's all pretty straightforward, but I'm struggling to come up ...
Nick DiZazzo's user avatar
0 votes
1 answer
106 views

Create Multiple Trustlines Upon Account Creation

This code successfully creates a new account, and funds it with 5 XLM, but it does not add trust lines to the account. Is it acceptable to chain a changeTrust operation within this transaction? Or do ...
p3scobar's user avatar
  • 117
0 votes
1 answer
59 views

Main account for our exchange

We need to have main account in order to let our customers to deposit into it. But since stellar does not let you generate account without getting funds into it from an existing account, we do not get ...
Tzion buchris's user avatar
1 vote
1 answer
141 views

Managing stellar customer accounts via federation and memo field, good practices?

I would like to create an asset that can be traded for particular asset(s) only so I decided to take approach where I use a single account to manage customer balances by using federation server and ...
KwahuNashoba's user avatar
1 vote
1 answer
111 views

How to keep account balance up to date in wallet app

I'm building a simple wallet app and I want to keep the balance of my account up to date in the wallet. I have thought of a couple ways to do this, but neither seem that great. OPTION 1: Query the ...
Christopher Mills's user avatar
1 vote
2 answers
342 views

What is "Account ID" in Stellar terms?

Account ID is referred as federation address here. After reading here I interpreted account id as a publickey. You can use the federation endpoint to look up an account id if you have a stellar ...
Prashant Gangwar's user avatar
3 votes
1 answer
63 views

Why are some operations missing when I query operations by account?

When querying the Horizon API for operations related to an account, some are unexpectedly missing. The documentation says that the endpoint I'm using represents all operations in valid transactions ...
Nick DiZazzo's user avatar
6 votes
1 answer
501 views

Best practice for issuing a new asset and locking an account

When issuing a new asset, is it expected that the transfer of the asset to the distribution account and the locking (setting weight to 0) of the issuing account take place in one transaction or, can ...
Christopher Mills's user avatar
3 votes
1 answer
46 views

How to do make the minimum XLM deposit upon account creation

How would one typically send the prerequisite 1 XLM to a new account upon creation? Is this done by including the transfer from another account to the new account as part of the creation process?
Christopher Mills's user avatar
3 votes
1 answer
112 views

What's the maximum number of signers for a given account?

Submitted externally: Can I specify 1000 people can sign on my addr Or is there a limit in terms of the maximum number of signers?
user avatar
1 vote
2 answers
280 views

How to get account historical balances?

how would I go about obtaining a list of historical data (tokens held, their quantities and a timestamp) for an address? The stellar expert explorer has a way of generating this kind of data, an ...
BalticKoala's user avatar
6 votes
1 answer
69 views

How does account creation work?

I'm interacting with stellar-core alone without any SDK/Horizon support. I've created a private network with 5 nodes, each a validator node requiring 2/3 of the 5 nodes to agree. I'm a bit confused ...
B.Li's user avatar
  • 649
2 votes
1 answer
529 views

Create an account on a private stellar network

I wish to create an account on a private stellar network. The network was created using this docker image https://github.com/stellar/docker-stellar-core-horizon, with the --standalone flag. When I ...
Mahmoud Khraisha's user avatar
3 votes
1 answer
350 views

How to create and fund a stellar account on live network?

I have used the JS SDK to create a set of keys, and then send some money to it using friendbot cfr the docs to create an account (https://www.stellar.org/developers/guides/get-started/create-account....
ZaphodBBx's user avatar
4 votes
1 answer
401 views

hash(x) signer in lightning network

I can't understand the hash(x) signer concept. How does the hash(x) signer work in Stellar? What is the difference between a hash(x) signer and another type of signer in Stellar?
masi's user avatar
  • 43
2 votes
4 answers
172 views

Channel concept in stellar

I can't understand the channel concept. How does channel keep transactions' order? Is there a channel account for a special operation or any channel account can do any operation?
Roya Nasiri's user avatar
4 votes
1 answer
89 views

Does stellar takes fee for resolving a federated address?

I did a transaction from my one of my stellar accounts to my federated stellar address which is under another account. But while sending I made the mistake of not giving the complete federated address ...
Anthrose's user avatar
  • 131
5 votes
1 answer
175 views

Is there a way to watch for balance?

How can I programmatically watch for change in balance for a account or just new incoming transactions? looking for js-stellar-sdk method
niksmac's user avatar
  • 243
5 votes
1 answer
55 views

Stellar address prefix bitwise operator rationale

Stellar prefixes public keys with G. Why do they use a bitwise operation VersionByteAccountID VersionByte = 6 << 3 to get the base 10 value 48? Javascript "returns the default numerical values", ...
aroooo's user avatar
  • 267
0 votes
3 answers
360 views

Muliti Signature with hash(x) in goLang SDK

I have a stellar account say "ACCOUNT1" with the following attributes: MasterWeight = 2 Threshold [ 1, 2, 3] Signers: Masterkey with weight 2 ed25519_public_key with weight 1 (say ACCOUNT2) ...
Malavan's user avatar
1 vote
2 answers
128 views

How Do I "distribute" multiple times?

I can create 500,000,000 (5 hundred million) tokens. I want to release 2,000,000 and put on SDEX (and other XLM exchanges). Then, once sold, do a Pre-ICO and distribute 100,000,000 for this sale. ...
Lee Wiest's user avatar
2 votes
2 answers
325 views

Can't see the history of an account that paid me

One of the accounts on my platform received a payment on 15/07/18 from THIS ACCOUNT but I can't retrieve the history of the sender account from any explorer. Here is the screenshot of payments from ...
AndreaBorio's 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. ...
Pierre's user avatar
  • 63
5 votes
2 answers
122 views

Collect funds from bifrost after an ICO

Bifrost creates a lot of wallets after an ICO. I was wondering what is the best method to collect these funds into a single wallet and whether anyone has built an automated system for this?
Dontrail Cotlage's user avatar
5 votes
3 answers
1k views

How was the first stellar account created?

Transactions contain the source account id, therefore you need an existing account to be able to create a new account and you also need funds in order to do anything. So how was the first account ...
PiersyP's user avatar
  • 267
6 votes
2 answers
480 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) ...
glowkeeper's user avatar
2 votes
1 answer
366 views

Stellar Federation Address "not found or invalid"

I've set up a stellar.toml for my federation server and implemented the federation API endpoint as documented here https://www.stellar.org/developers/guides/concepts/federation.html. The only purpose ...
marcinx's user avatar
  • 586
8 votes
2 answers
1k views

How can I create a real account using the stellar Horizon API?

I have been practicing with the test-net for a while and creating test accounts with the friendbot. Now I want to create a real account throught the API with the lumens that I already have. Is there ...
Daniel Valencia's user avatar
5 votes
1 answer
450 views

Master key weight set to 0

When I create my asset, I set master key weight to 0 and other threshold to 1 to lock and prevent something happen to Issuer Account. But now I need to change something to that Issuer Account, ...
Ahmad Hidayat's user avatar
1 vote
1 answer
59 views

How can I create a FIAT credit directly from a bank account?

How can I create a FIAT credit from a bank account for example from a Deutsche Bank account in Stellar Thank
F. Vidoni's user avatar
4 votes
1 answer
55 views

How could I distinguish contributors on crowdsale?

lets say that I will conduct a crowdsale from my website instead of selling our tokens form stellar decentralized exchange. lets say I have two investors A and B and they will send their XLM to our ...
legend10's user avatar
3 votes
2 answers
91 views

Are federated Stellar Addresses (username*domain.tld) universally supported?

Is it safe to assume that payments to federated stellar addresses username*domain.ltd are universally supported? Are there wallets/apps out there that would possibly reject those? Because they have ...
marcinx's user avatar
  • 586
6 votes
1 answer
673 views

Account address string length always 56?

Modeling DB table. Is the account id (public key) string length always 56 and always will be?
marcinx's user avatar
  • 586
2 votes
1 answer
96 views

Testnet vs. Public Net specific Federation Servers

What would be a good design for federation servers in our deployment? We have a production environment and a staging/QE environment. We'd like the production environment to have a federation server ...
marcinx's user avatar
  • 586
3 votes
2 answers
470 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?
Anshul mittal's user avatar
2 votes
1 answer
100 views

Balance of sender is not updating when send custom assets to receiver

I'm developing a remittance system around Stellar and we generated our own custom assets of type credit_alphanum4. Now the issue is, when we send payments using these custom assets to destination ...
Junaid Butt's user avatar
1 vote
1 answer
304 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?
Anshul mittal's user avatar
6 votes
2 answers
289 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 ...
Ross Bates's user avatar
8 votes
3 answers
487 views

Storing Secret Key for Smart Contracts

I'm currently working on a project that will implement multi-signature smart contracts to process our transactions. I have a quick question and am looking for input on how best to do this. My team ...
shmister24's user avatar
4 votes
5 answers
2k views

How do I actually create an account?

I want to get an actual dev account to create a cryptocurrency of my own, but I'm not even sure how to even make an account here. https://www.stellar.org/developers/guides/get-started/create-account....
Augrunga's user avatar
2 votes
2 answers
241 views

Possible to get a list of account holders satisfying certain criteria using Horizon?

I would like to do some analysis of the layout of the Stellar network (maybe some basic graph theory and stats) and I would like to grab a list of all account holders that have had a payment operation ...
tlnagy's user avatar
  • 213
2 votes
2 answers
624 views

Error in submitting the multisig transaction

The below code is the multisig transaction to submit to stellar horizon testnet. When I am submitting the transaction, I am getting the submission failed error. var alice_public_key = '...
merklexy's user avatar
1 vote
1 answer
132 views

Account creation on stellarterm

The first step of an account creation on https://stellarterm.com is to generate a key-pair. I can log in using the secret key - the service returns me the public key, aka my wallet account ID. It's ...
maxint's user avatar
  • 303
3 votes
1 answer
1k views

How to get the sequence number for an account id?

In the below code, I explicitly gave the sequence number. How can I get the sequence number by giving the public key? Is there a way to get the sequence number of an account? var StellarSdk = require(...
merklexy's user avatar
1 vote
1 answer
458 views

How to create multisig address from multiple seeds?

I am wondering how to create the multisig accounts for stellar. I am using "py-stellar-base" SDK to send the transactions. Below is the code which sends the lumens from one address to other from ...
merklexy's user avatar
2 votes
1 answer
96 views

How an account balance is calculated?

I can see that each account keeps it's balance of lumens. Yet there should be a place where the rest of assets that belong to an account is preserved - the API for Account Details returns a list of ...
maxint's user avatar
  • 303