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
0
votes
1answer
23 views

Some source accounts does not exist when using Stellar laboratory with my private Stellar network

I had some difficulties but I managed to get my private Stellar network to work. Now I try to create accounts with the Stellar Laboratory but every time I send a transaction, I get an error explaining ...
0
votes
1answer
30 views

Get Account Details Data Missing

I am getting the following error when calling getAccountDetails using the iOS SDK: parsingResponseFailed(message: "The data couldn’t be read because it is missing.") Here is my code. This should use ...
1
vote
2answers
34 views

Is there any valid reason *not* to set masterWeight=0 on an asset issuing account?

Issuing accounts should last as long as the asset, the typical case being "as long as we can forsee". Setting masterWeight=0 and using other accounts for transacting on behalf of the account seems ...
0
votes
1answer
21 views

Inflation destination address

Why do I have an inflation destination address and a public address? What is the purpose of each? Where do I find my inflation destination staking rewards?
-1
votes
1answer
19 views

Friendbot bad request (400) invalid_field: “addr”

I am trying to create an account on the stellar Test Network. But whenever I make a request and pass in the public key, I always get this error: I am using the Javascript documentation from here
0
votes
1answer
32 views

Friendbot request fails with 400 (Bad Request)

I am trying to create an account on the stellar Test Network. I am using ASP .Net framework. But whenever I make a request and pass in the public key, I always get this error: Response status code ...
1
vote
1answer
31 views

How to generate public key using SDK in salesforce?

I want to integrate stellar with a Salesforce application. and I am stuck at generating a public key and secret key. I am a little confused regarding SDKs, how can I use an SDK in the apex? Can I ...
1
vote
1answer
30 views

“No converter found for return value of type: class org.stellar.sdk.requests.TransactionsRequestBuilder” when getting transaction history

This is my code for transaction history: @RequestMapping(value = EmpRestURIConstants.TRANS_HIS, method = RequestMethod.POST) public @ResponseBody TransactionsRequestBuilder transactionHistory(@...
5
votes
1answer
44 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 ...
1
vote
1answer
37 views

Escrow account releases funds imediately when configuring lock-in period

Hoping for a simple scenario following This thread: 1) Creating wallets from master accounts 2) Funding the escrow wallet 3) Giving the lock - in time bound period 4) Releasing the amount locked ...
0
votes
2answers
35 views

Framework for a hello world application

Really simple question, with presumably involved answer: I'm trying to understand how to make what starts off as a simple hello_world application where I sell the integers "1-2-3..50" to USER=account ...
1
vote
1answer
49 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 ...
3
votes
1answer
31 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 ...
0
votes
1answer
22 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. ...
3
votes
1answer
47 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 ...
4
votes
1answer
16 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 ...
0
votes
1answer
34 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 ...
0
votes
1answer
31 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 ...
1
vote
1answer
74 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 ...
0
votes
1answer
53 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 ...
1
vote
2answers
77 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 ...
3
votes
1answer
44 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 ...
4
votes
1answer
108 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 ...
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
1answer
41 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?
1
vote
2answers
70 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 ...
0
votes
0answers
7 views

Why does the Horizon testnet API not display all of the operations of an account when queried?

I want to be able to display the full list of payment operations performed to and from an account. I can view all of the payments and other operations all the way back to the account creation on ...
5
votes
1answer
44 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 ...
2
votes
1answer
264 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 ...
3
votes
1answer
96 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....
3
votes
1answer
107 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?
2
votes
4answers
88 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?
4
votes
1answer
56 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
69 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
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", ...
0
votes
3answers
206 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) ...
1
vote
2answers
64 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. ...
2
votes
2answers
307 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 ...
6
votes
2answers
757 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. ...
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
2answers
704 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 ...
6
votes
2answers
191 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) ...
2
votes
1answer
179 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 ...
6
votes
2answers
434 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 ...
3
votes
1answer
184 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, ...
1
vote
1answer
46 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
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 ...
3
votes
2answers
65 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 ...
4
votes
1answer
287 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
68 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 ...