14 votes
Accepted

When is account sequence number incremented?

At the lowest level of the protocol transactions are always processed, meaning they collect the fee and update the sequence number. The layer above that, still done by validators, does the same ...
13 votes
Accepted

Upper limit for managed data

It can contain up to 64 bytes. When it comes to data structures in Stellar you can always check XDR definition files in stellar-core repository. For example DataValue definition looks like this: ...
12 votes
Accepted

How to find the public key given only the seed?

Java Script let StellarSdk = require("stellar-sdk"); let keypair = StellarSdk.Keypair.fromSecret("S..."); console.log(keypair.publicKey()); http://stellar.github.io/js-stellar-sdk/Keypair.html#....
11 votes
Accepted

How do you fund an account on the testnet?

The friendbot takes care of funding accounts on the testnet. All you have to do is to send him your public key address. You can do it manually via curl curl "https://horizon-testnet.stellar.org/...
  • 1,300
8 votes
Accepted

How might the account 'Flags' evolve over time?

Some devs have been proposing to add 'Delayed payments' options to secure accounts against hackers, so people could create 'vaults' that can not send out payments if they have the 'delay' flag on ...
  • 1,318
7 votes
Accepted

Is inflation voting chain based?

No. Inflation voting cannot be chained This isn't explicitly mentioned in the documentation so by default you have to fall back to looking at the code for the current implementation. Reading the ...
7 votes

What is the rationale behind locking up base_reserve?

Accounts, offers and data entries are eventually rows in each node's Postgres DB. To prevent anyone from creating billions of accounts and unnecessary consuming resources of node operators - base ...
  • 938
7 votes
Accepted

What is the correct way to implement sub-accounts within one master account?

Your question is similar to how the stellar documentation describes customer accounts, which has two recommended methods: Maintain a Stellar account for each customer. When a customer deposits ...
7 votes
Accepted

Storing Secret Key for Smart Contracts

Generally speaking, if you're owning all the accounts and everyone trusts you then I'd suggest adding your own private keys to the accounts instead of taking theirs. If you add your own key that is ...
  • 396
7 votes
Accepted

Do I recover my .5 lumens when changing trust to delete a trustline?

You do not pay XLM, you just "freeze" XLM. Once you delete a trustline, it is "unfrozen".
  • 108
7 votes

How can I close a Stellar Account?

The account merge operation does that. I don't know any wallet that supports it, but an easy way to do it without programming is stellar laboratory If there are any other assets move them with ...
  • 2,524
6 votes

How to get friendbot to fund my new account using a HTTP request?

In browser you can use Fetch API for this purpose: fetch('https://horizon-testnet.stellar.org/friendbot?addr=<account-address>') .then(res=>res.json()) .then(res=>console.log(res))
  • 6,846
6 votes
Accepted

Which is the real funding account? Duplicate funder in blockchain

There is nothing strange in this situation. Account GAL…ZTB was created by GAA…WN7, then merged into GAE…WFK, then funded (created) again by GAS…C6E. Check detailed account history here. Are the ...
  • 6,846
6 votes

When is account sequence number incremented?

Accepted answer has great explanation how the process work, so let me add some practical examples to make it more concrete. Doesn't bump sequence operations have obviously invalid parameters (...
  • 416
6 votes
Accepted

Account address string length always 56?

It's always 56 for the current encoding scheme. And there is no intention to change the keypair generation mechanism in the nearest future, as far as I know. The invention of the relatively cheap ...
  • 6,846
6 votes
Accepted

Can't see the history of an account that paid me

Using the payments by account endpoint of Horizon we can see that the from account has since been merged into GCXELXZUHZEZFT5E63P2R2HMXJ3MPPIVR3TI2MDBP244ECRBQEFBVKCG. { "_links": { "self"...
  • 3,367
6 votes
Accepted

hash(x) signer in lightning network

A hash(x) signature has no dependence on the transaction itself. As such, it is only a "signer" in the sense that it adds signing weight to a transaction. Once anyone has seen the corresponding hash ...
  • 1,221
6 votes
Accepted

Best practice for issuing a new asset and locking an account

There are no specific requirements regarding issuing account locking. It's up to the issuing entity whether to lock account or not. Master key weight can be changed at any time, thus most anchors ...
  • 6,846
5 votes

How do you fund an account on the testnet?

Even though you can generate keypairs(The seed and the public key) for an account...it will have 0 lumens to start with. For funding purposes, you can use the friendbot. It will add 10000 Test lumens ...
5 votes
Accepted

What encoding is used for the data in account data?

Account data is encoded with base64. Note that the key must be a string but data can be any kind of binary data (in addition to a string), so that's why many APIs return it base-64 encoded. Some ...
5 votes

How was the first stellar account created?

The first account was created on the ledger 1 alongside with the Network initialization. It looks like GAAZ...CWN7 was the first Stellar account("genesis" account in blockchain terminology), with 100,...
  • 6,846
5 votes

Does stellar takes fee for resolving a federated address?

No, it does not take any fees, it's just tool to resolve stellar addresses and return relative public key, and it does not connect with Stellar network
5 votes
Accepted

Channel concept in stellar

You need to understand how transaction sequence numbers first. Every transaction has a source account, which pays for the operations contained inside it. To stop replay attacks, every transaction ...
  • 1,947
4 votes
Accepted

What is "Bump Sequence"?

As far as I can understand it from the feature description, it has nothing to do with the lightning network. The only effect from the mentioned operation is a bump (increment) of the account sequence ...
  • 6,846
4 votes

How do I actually create an account?

The first two JS examples are equivalent to the Lab tool here: https://www.stellar.org/laboratory/#account-creator?network=test Basically the first one generates your account keys (public and secret)....
  • 193
4 votes
Accepted

Are federated Stellar Addresses (username*domain.tld) universally supported?

Federation support is reccomended by SDF (see SEP-0002), but not mandatory. Some clients do not support federation addresses, for example, exchanges like Bittrex or Poloniex. So it would be better if ...
  • 6,846
4 votes
Accepted

Master key weight set to 0

The whole point of setting the master key to 0 is to guarantee that you won't be able to make new transaction with the account. This proves that the configuration and amount of an asset won't change ...
4 votes

How can I create a real account using the stellar Horizon API?

To create a new account you issue a transaction with the CreateAccount operation. It's very similar to a Payment operation, but has the side-effect of creating a new account. This is essentially what ...
  • 3,367
4 votes
Accepted

Trusting non-native asset distribution

If you want x and y to trust the same asset (not issued by either x or y) then you will need an account a to serve as the issuer account. If you want to continue to distribute tokens issued by the ...
  • 1,070

Only top scored, non community-wiki answers of a minimum length are eligible