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
4
votes
1answer
299 views

Account address string length always 56?

Modeling DB table. Is the account id (public key) string length always 56 and always will be?
2
votes
1answer
70 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 ...
3
votes
2answers
220 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?
2
votes
1answer
72 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 ...
1
vote
1answer
197 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?
5
votes
1answer
191 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 ...
8
votes
3answers
347 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 ...
3
votes
5answers
985 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....
2
votes
2answers
163 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
2answers
388 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 = '...
1
vote
1answer
109 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 ...
2
votes
1answer
791 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(...
1
vote
1answer
306 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 ...
2
votes
1answer
75 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 ...
5
votes
3answers
599 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
117 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 ...
4
votes
3answers
209 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 ...
3
votes
1answer
70 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&...
5
votes
1answer
152 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 ...
4
votes
1answer
279 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 ...
5
votes
1answer
58 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?
4
votes
2answers
139 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 ...
9
votes
2answers
597 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, ...
7
votes
1answer
158 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
383 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?
3
votes
1answer
70 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 ...
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?
7
votes
2answers
97 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 ...
13
votes
1answer
265 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 ...
9
votes
1answer
76 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 ...