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
13 votes
1 answer
356 views

What is the correct way to implement sub-accounts within one master account?

What is the correct way to implement a system with one master account that contains sub-accounts associated with individual users? Is it correct to use a Memo for every transaction that then ...
Spaceboat's user avatar
  • 317
10 votes
2 answers
806 views

When is account sequence number incremented?

From Slack: Is account sequence number incremented only by valid transactions? In my case, I am trying to create an account with a large starting balance and consequently get an underfunded error, ...
Bartek Nowotarski's user avatar
10 votes
3 answers
4k views

How do you fund an account on the testnet?

For testing purposes, how do you fund an account with the minimum required balance on the testnet?
Leon Smith's user avatar
9 votes
1 answer
94 views

How might the account 'Flags' evolve over time?

From the 'Accounts' section of the docs: Flags Currently there are three flags, used by issuers of assets. Authorization required (0x1): Requires the issuing account to give other accounts permission ...
R.J.'s user avatar
  • 349
8 votes
1 answer
262 views

Upper limit for managed data

The manage data operation allows binary values to be associated with an account. The documentation doesn't mention any upper limit to this data, but there surely must be. What is the limit? Or does ...
Synesso's user avatar
  • 3,367
8 votes
1 answer
670 views

How to find the public key given only the seed?

If I have only the seed to an account, how can I find the public key?
Brandon's user avatar
  • 325
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
8 votes
2 answers
125 views

What is the rationale behind locking up base_reserve?

In Stellar, you must hold a certain amount of XLMs in your account or else you can't perform transactions. What's the monetary rationale behind this requirement? It locks up money in accounts for no ...
FuzzyAmi's user avatar
  • 1,581
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
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
7 votes
1 answer
115 views

What is the origin of an account's initial sequence number

According to the stellar docs Sequence number The current transaction sequence number of the account. This number starts equal to the ledger number at which the account was created This does ...
David Kosz'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
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
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
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
6 votes
1 answer
89 views

What encoding is used for the data in account data?

From Slack: i saved data to an account as {foo: 'bar'}, but it came back as: { foo: 'YmFy' }. What encoding is being used, and/or how do you get the plain text/utf8 value?
ZuluCrypto'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
6 votes
1 answer
145 views

Are there any examples and/or documentation of maintaining a stellar account for each customer?

I'm attempting to become an anchor. Reading through https://www.stellar.org/developers/guides/anchor/ it goes into detail for anchors that use federation and memo fields but is thin on detail for ...
Paul Hill's user avatar
  • 139
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
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
5 votes
3 answers
1k views

How to get friendbot to fund my new account using a HTTP request?

On the Stellar development guides it states that using the following code, you can achieve the following: To create a test account, send Friendbot the public key you created. It’ll create and fund ...
cloe's user avatar
  • 51
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
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
5 votes
3 answers
314 views

Bonds on Stellar

A couple of years ago Jed wrote about the possibility of using Stellar to issue Bonds (http://jedmccaleb.com/blog/bonds-on-stellar/). The example is clear, however I would like to know what is the ...
yulemata's user avatar
  • 312
5 votes
1 answer
246 views

Authorization immutable (0x4) - Use case

I am trying to imagine a use case scenario where I would use Authorization immutable (0x4) flag. The documentation states: If this is set then none of the authorization flags can be set and the ...
syntaxval's user avatar
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
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
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
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
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
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
4 votes
1 answer
705 views

What is "Bump Sequence"?

There is currently a new operation proposal on stellar's github to add a bump sequence. What does this mean, why is it being implemented, and how does it impact stellar developers? Bump sequence ...
Noam Hacker'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
4 votes
2 answers
186 views

Enforcing Non-Native Asset Transactions

I know the Stellar network can be used for exchanging all types of assets - Lumens, USD, apples, whatever. When exchanging non-Lumen assets between accounts, the network doesn't actually perform the ...
tverghis's user avatar
  • 143
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
3 votes
1 answer
77 views

Is inflation voting chain based?

If I have 3 accounts, lets call them A, B and C and you set inflation in chained manner like so: A sets its inflation destination to B B sets its inflation destination to C Would A votes be counted ...
Leon Smith's user avatar
3 votes
1 answer
120 views

Which is the real funding account? Duplicate funder in blockchain

I'm looking at account creation and found something that I though was impossible. Maybe I just don't understand what is happening. According to https://horizon.stellar.org/operations?order=desc&...
Jeff's user avatar
  • 404
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
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
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
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
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
3 votes
2 answers
64 views

Legality of making a Custom Asset

I would like to create a custom token but I cannot seem to find any dos and donts as far as legality goes with making one. Is it legal to just create an asset and start selling it or is there ...
Mike's user avatar
  • 31
3 votes
1 answer
418 views

Missing Lumens after upgrade

I recently upgraded my old Stellar account to the new network. After upgrade page says Upgraded! You had XXX lumens in the old network To access your account, go to account viewer But I see 0 XLM in ...
Vitalii Kalinin'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
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
3 votes
1 answer
41 views

Minor difference in XLM balance

I have a question regarding the calculation of the XLM balance in this case: https://stellarchain.io/address/GATESQVJTO2QPFLLDS4VZQ3X6WX6FSICR6IFXIAMGMJYCMEE645KKTSM The current balance is 1.99998, ...
Tobias's user avatar
  • 131
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
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
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