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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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.

0
votes
3answers
61 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) ...
0
votes
2answers
38 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. ...
1
vote
2answers
278 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 ...
5
votes
2answers
658 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. ...
3
votes
2answers
88 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?
2
votes
2answers
621 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
2answers
83 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) ...
1
vote
1answer
33 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 ...
4
votes
2answers
72 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 ...
2
votes
1answer
40 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, ...
0
votes
1answer
32 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
1
vote
2answers
86 views

What is better for conducting an ICO?

What is the best solution from the following two options to do ICO functionality? Option 1. generate new stellar account for the investor let the investor send contributions to it make (buy order) ...
2
votes
1answer
34 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 ...
2
votes
2answers
40 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 ...
2
votes
1answer
74 views

Account address string length always 56?

Modeling DB table. Is the account id (public key) string length always 56 and always will be?
1
vote
1answer
40 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 ...
2
votes
2answers
66 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?
1
vote
1answer
34 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 ...
0
votes
1answer
71 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?
3
votes
1answer
90 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 ...
5
votes
3answers
193 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 ...
0
votes
4answers
253 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....
1
vote
1answer
73 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 ...
1
vote
2answers
179 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 = '...
0
votes
1answer
56 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 ...
0
votes
1answer
253 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(...
0
votes
1answer
144 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 ...
1
vote
1answer
43 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 ...
2
votes
2answers
230 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 ...
4
votes
1answer
74 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 ...
3
votes
3answers
169 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
54 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&...
4
votes
1answer
76 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 ...
3
votes
1answer
131 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 ...
3
votes
1answer
31 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?
1
vote
2answers
70 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 ...
7
votes
2answers
295 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, ...
6
votes
1answer
62 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 ...
6
votes
1answer
107 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?
-2
votes
4answers
87 views

Are there any additional security improvement for Stellar accounts in the future? [closed]

Reflecting on the "Blackwallet" disaster, all Stellarians are wondering how their Lumens assets could be more secure? Is it possible to add extra security features like a 2-step-verification to a ...
1
vote
1answer
47 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 ...
5
votes
2answers
339 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?
5
votes
2answers
80 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 ...
12
votes
1answer
146 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 ...
8
votes
1answer
63 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 ...