Questions tagged [transactions]

Transactions are commands that modify the ledger state. Among other things, Transactions are used to send payments, enter orders into the distributed exchange, change settings on accounts, and authorize another account to hold your currency. If you think of the ledger as a database, then transactions are SQL commands.

Filter by
Sorted by
Tagged with
1
vote
2answers
78 views

Private Testnet 404 issue

I am working on stellar private testnet setup, i have setup 3 stellar-core nodes and horizon, Account creation is working fine but data not showing for ledger, payment, transactions etc. All 3 nodes ...
2
votes
2answers
166 views

Simple Transaction Issue

I am working on a small and very basic project, essentially doing a POC involving stellar transactions. I am a newbie with stellar. I have two clients running the same code, and a 'banker' who ...
1
vote
0answers
48 views

Bifrost not updating events after ether sent to address warning error thrown

h=00000000000002c4e16bb85581427717efbd418a3e954064b2b532e02672a568 blockTime=2018-04-11 20:10:28 +0000 UTC pid=2514 service=BitcoinListener transactions=1 WARN[2018-04-11T20:10:39Z] Error extracting ...
2
votes
1answer
230 views

Good methods for Stress Test to prevent tx_bad_seq?

During a manual stress test with js-stellar-sdk, some transactions may be responded slower (e.g. 10 sec). At high TPS, asynch programming possibly causes server.loadAccount() to get the same tx_seq, ...
11
votes
1answer
113 views

Info on metrics

Is there any documentation as to what each of the metrics outputted by stellar-core -c metrics means? In particular, I'm interested in determining the number of transactions reviewed by a particular ...
2
votes
1answer
85 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 ...
6
votes
1answer
92 views

Should an address be restricted from sending unlimited XLM to itself?

Hello Stellar Community, While testing our wallets yesterday we noticed that an address is able to 'send' itself more XLM than the current total supply limit, ex: 105 Billion XLM. Although the net ...
8
votes
3answers
413 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
1answer
260 views

What is the Bottleneck for Stellar TPS (for a private network)?

There are discussions on different forums about how good in terms of TPS (transaction per second) Stellar can be. If I would like to achieve higher TPS, is hardware likely to be the only bottleneck? ...
3
votes
1answer
540 views

Pre-authorized Transaction

I would like to create a simple escrow account with two preauthorized timebound transactions, but not sure how to approach the problem. I am fairly new to Stellar, so correct me if I am wrong. I ...
1
vote
1answer
149 views

Is this scenario possible with stellar?

another noob question : Is it technically possible to use SSC for build a third party escrow service ? Let's imagine an absurd scenario : Once upon a time a man named Jed. He want to sell his ...
2
votes
1answer
399 views

Stellar smart contract

Where does the stellar smart contracts stored. Its storing in blokchain (similar like ethereum) or its runs separately and storing only the signed transactions?. As i know stellar stores only the ...
2
votes
2answers
548 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 = '...
3
votes
1answer
1k 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
401 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
113 views

Consensus about a transaction set

In the description of the transaction life cycle it is mentioned that: SCP resolves the differences between the various transaction sets proposed and decides on the one transaction set that the ...
3
votes
1answer
97 views

How are timestamps deemed invalid?

The Stellar Consensus Protocol orders block candidates (via ballots) by the maximum timestamp and union of their transactions. It says that "values [transactions/ballots] with invalid timestamps will ...
5
votes
1answer
60 views

Why “waiting on the signatures can block an account”

In the explanation about the long-lived transactions here, they mention that waiting on the signatures can block ... an account and there is a solution proposed, involving a temporary account ...
2
votes
1answer
77 views

What would be the way to implement a game on Stellar?

I'm curious how would it be possible to implement a game similar to one mentioned here. The rules are trivial (and sort of dumb): In our little game, in each round, the wrestlers will be able to ...
6
votes
1answer
226 views

How does using “channels” increase transaction volume?

Referencing this documentation page: https://www.stellar.org/developers/guides/channels.html. How does using a different source account to pay the transaction fee help increase your transaction ...
4
votes
1answer
330 views

How can I convert the built 'transaction' in XDR format?

Before I submit the transaction to the network I want to convert the 'transaction' in XDR format so that I can save it to database for future reference. I am using Stellar JS library. How to do it?
3
votes
1answer
168 views

How is Stellar network protected against spam? Are there scalability solutions?

After todays meeting with Stellar dev in Kraków some issues have raised in my mind that I couldn't easily find the answer to: From what I've heard, Stellar is capable of handling like 1000tx/s. With ...
1
vote
2answers
227 views

How are Stellar transactions distributed to validators?

When I submit a transaction and post it to a Horizon endpoint what process determines which validator will handle the transaction? Do client apps have any visibility or control over this?
3
votes
1answer
391 views

Can anyone explain what passive offers achieve?

I've read https://www.stellar.org/developers/guides/concepts/list-of-operations.html#create-passive-offer but I can't quite wrap my head around the purpose of a passive offer. Can anyone explain their ...
2
votes
1answer
194 views

How can fiat credits issued on the Stellar network be converted directly to fiat (without going through an exchange)?

When an anchor issues fiat credits on the Stellar Network, how can these credits be withdrawn directly to a bank account or as cash at an ATM? For example, If I give 10 USD to an anchor and am ...
3
votes
1answer
130 views

Monitor transactions of non-native asset

is there a convenient way to monitor all transactions/payments/operations of a custom asset? It seems like the REST API only allows this for either one account or the whole network, but not for a ...
6
votes
2answers
233 views

How to determine sequence no for pre-authorised transaction with time bound validity without blocking other new possible transactions

If a pre-authorised transaction is created for time bound validity after 50 days and submitted to the network, does this mean another transaction before 50 days cannot happen as the sequence number ...
5
votes
1answer
155 views

Stellar offer fulfilment process in orderbook. Are partial bids accepted by Stellar?

How does Stellar network does the order matching on orderbook for sell offers and does Stellar accept partial bid for order fulfillment? eg I want to sell 100 units of asset A. If I get bids from ...
3
votes
2answers
380 views

Using IPFS hashes in stellar transaction / MEMO

I wonder if it is possible to send a IPFS Hash in a transaction MEMO. No accepted MOMO-Type allows me to enter a Multihash. Or did i get something wrong with 32-byte hashes which is not the IPFS-...
3
votes
1answer
142 views

Listing all effects for a transaction

I’m having a bit of a trouble listing effects for one transaction record. When I list (e.g. on stellar laboratory) all TransactionForAccount, I get only limited number of records. I understand it. ...
2
votes
2answers
138 views

Relation between Operation, Payemnt and Effect

What is the relation between “Operation of type: payment”, “Payment” and “Effect of type: account_credited”? Can “Payment operation” be submitted and not results in “Effect” (e.g. because of ...
4
votes
1answer
119 views

Monitoring if offers are filled

I read the guide about watching for incoming payments, but trades on the distributed exchange don't show up as payments (this makes sense). So, I've been looking through the available RequestBuilder ...
4
votes
2answers
250 views

How do you market buy an asset?

Is it possible to market-buy from the stellar distributed exchange? Or do you have to get the current sell offers and construct a bid for exactly the price of what people are willing to sell?
3
votes
2answers
691 views

Signing transaction envelopes

How would I create a transaction envelope (using Stellar Laboratory) that is partially signed so that I may finish the rest of the signatures at a later date.
5
votes
2answers
562 views

How do you cancel all open trades for a Stellar account?

I'm looking at the Java docs and I can't find any way to delete every order for an account. Is there an easy way to cancel/remove all open trades/offers?
3
votes
1answer
153 views

Add and remove multiple signers in one transaction

Looking at the XDR spec there is only one signer allowed per transaction. Is there a reason for it, or there is a way to add multiple signers atomically? I am working on a new command line interface ...
1
vote
1answer
95 views

How can I build a transaction with a dynamic list of mutators or operations using the Go SDK?

I'm trying to submit many operations in a single transaction that are built up dynamically. How can I convert these operations to a Stellar Transaction? Please provide code samples if possible.
4
votes
1answer
682 views

What is the Stellar transaction data structure?

I'm vaguely familiar with Bitcoin's UTXO-based transaction structure and Ethereum's account-based/gas-including transaction structure. What does a Stellar transaction contain?
3
votes
1answer
3k views

What is the average transaction time on the Stellar network?

In other blockchains, such as Bitcoin or Ethereum, the transaction time is limited by the block time. Even then, there's no guarantee your transaction will be incorporated into the next block. How ...
4
votes
1answer
423 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 ...
4
votes
1answer
123 views

Freezing assets and sending them back to the original issuer

In a disputed transaction, after freezing the assets, how can you send the assets back to the original issuer? Say for instance, you meant to send $100 but instead sent $1,000. Is there a way to ...
5
votes
1answer
280 views

How do 2 people sign a transaction from different clients?

In the multisig example located in the developer documents everything is listed in sequence in a single client "session" so to speak. https://www.stellar.org/developers/js-stellar-base/reference/base-...
9
votes
2answers
159 views

What is the Safest Way for Users to Sign Transactions Over the Web?

I'd like to build a web wallet that let's people make transactions. I'm best at python so right now I ask for the secret key in a form with the other transaction information, send it to my server, ...
4
votes
2answers
164 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 ...
10
votes
2answers
727 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
341 views

Comparison of Transaction Speeds vs. Other Platforms

Does anyone have a comparison of technologies and transaction speeds/costs for XLM vs. Ripple vs. SWIFT vs. Conventional Mediums. It would be great to create an infographic or comparison table based ...
4
votes
1answer
120 views

Question regarding Stellar Attachment Convention 'route' param and general clarification

Regarding the attachment convention, is my interpretation correct? Attachments are sent outside of the ledger. The sha256 hash of the attachment data is included in the transaction's memo field only ...
6
votes
1answer
65 views

Does the ratio of number of transaction of number of operation mean something?

I've observed the ratio of transaction count and operation count for a while and there is high fluctuation in the relationship between them. Could someone explain me how the ratio reflects the growth ...
3
votes
1answer
111 views

Transaction fails without error code

I'm playing with the Stellar java SDK and I'm trying to send to send some Lumens from a fully funded account to an other account on the testnet. Once the transaction is complete I get back a response ...
22
votes
4answers
300 views

Instantly distributing payments to multiple parties

Is it possible to use Stellar to create an address that will automatically distribute payments to two different parties? For example, if 10 XLM is received to address x, 8 XLM are instantly ...