The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
1answer
270 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 ...
10
votes
3answers
1k 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?
9
votes
2answers
617 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, ...
9
votes
1answer
78 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 ...
8
votes
3answers
356 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 ...
7
votes
1answer
166 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 ...
7
votes
1answer
400 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?
7
votes
2answers
110 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 ...
6
votes
2answers
774 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. ...
6
votes
2answers
204 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) ...
6
votes
2answers
525 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 ...
6
votes
1answer
47 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 ...
5
votes
3answers
617 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 ...
5
votes
1answer
123 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 ...
5
votes
1answer
59 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?
5
votes
1answer
35 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", ...
5
votes
1answer
156 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 ...
5
votes
1answer
48 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 ...
5
votes
1answer
118 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 ...
5
votes
1answer
198 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 ...
4
votes
2answers
715 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 ...
4
votes
1answer
132 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?
4
votes
1answer
57 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 ...
4
votes
1answer
321 views

Account address string length always 56?

Modeling DB table. Is the account id (public key) string length always 56 and always will be?
4
votes
1answer
285 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 ...
4
votes
1answer
42 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 ...
4
votes
3answers
211 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 ...
4
votes
2answers
147 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 ...
4
votes
1answer
18 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 ...
4
votes
2answers
106 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?
4
votes
1answer
74 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
3
votes
1answer
71 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 ...
3
votes
5answers
1k 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....
3
votes
1answer
72 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&...
3
votes
1answer
46 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?
3
votes
1answer
35 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 ...
3
votes
1answer
68 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 ...
3
votes
1answer
214 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, ...
3
votes
2answers
68 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 ...
3
votes
1answer
26 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?
3
votes
2answers
230 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?
3
votes
1answer
824 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(...
3
votes
1answer
45 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 ...
3
votes
1answer
105 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....
2
votes
2answers
308 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 ...
2
votes
4answers
100 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?
2
votes
2answers
404 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 = '...
2
votes
2answers
167 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 ...
2
votes
1answer
289 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 ...
2
votes
1answer
72 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 ...