Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

4
votes
1answer
12 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
23 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 ...
-1
votes
0answers
16 views

Error Creating New Account

I'm trying to create a new account, with the Stellar JS SDK using Firebase Functions. This works when I run it locally, but when I upload to firebase, I get the following error. Can anybody explain ...
0
votes
1answer
25 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
60 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
52 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
46 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
40 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
69 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
23 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
29 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
60 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
4 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 ...
4
votes
1answer
36 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
127 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
56 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
86 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
2answers
66 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
55 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
49 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
29 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
179 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
56 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
299 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
733 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
103 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?
3
votes
2answers
677 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 ...
5
votes
2answers
141 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
110 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
204 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
124 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
44 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
3
votes
1answer
40 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
59 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
185 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
61 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
165 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
60 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
157 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?
4
votes
1answer
155 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 ...
7
votes
3answers
311 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
700 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
1answer
111 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
313 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
84 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
554 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
260 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
68 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 ...
4
votes
3answers
441 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
103 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 ...