Questions tagged [stellar-laboratory]

The Stellar Laboratory is a set of tools that enables people to try out and learn about the Stellar network. The laboratory can build transactions, sign them, and submit them to the network. It can also make requests to any of the Horizon endpoints.

Filter by
Sorted by
Tagged with
1
vote
1answer
26 views

Can I change the Path of a Stellar history archive?

In stellar-core.cfg (stellar config file) we need to define a history configuration. The default setting is mkdir="mkdir -p /tmp/stellar-core/history/vs/{0}". Can I change this directory location, or ...
2
votes
1answer
57 views

How to create trustline between issuer's account and receivers accounts dynamically?

I am trying to create a trustline between issuer's account and receiver's account to send Custom Assets(token) I am following this link var StellarSdk = require('stellar-sdk'); StellarSdk.Network....
1
vote
1answer
67 views

Mutiple opearations in single transaction

let 4 accounts are there. The first one (customer) is creating trust with second account (distributor) which sending him 5 assets token. Now what i want is that the third account(having lots of same ...
1
vote
1answer
19 views

How to send Lumens to an uninitialised stellar address pragmatically

I am new to stellar so please bear with my question if it sounds too basic. So, using the stellar laboratory, I created two accounts lets name 1 and 2. I funded the 1st account with test-net coins ...
4
votes
1answer
56 views

How is the weekly inflation calculated?

Is it based on daily average of just a snapshot of Monday 11:59 UTC
1
vote
1answer
39 views

Could not get test funds on stellar laboratory

{ "type": "https://stellar.org/horizon-errors/https://stellar.org/horizon-errors/transaction_failed", "title": "Transaction Failed", "status": 400, "detail": "The transaction failed when ...
0
votes
1answer
48 views

Is Stellar Laboratory broken? only shows my XLM balance, not my USD balance (logging in with ledger nano)

Ugh. I have 900,000 USD on GCT62JTWDK2AZ4EUHWJKUBAXAHQANPNEKRB6JW555WR2J2EQVFIJYV3Q and stellar lab https://www.stellar.org/account-viewer/#!/dashboard only shows the XLM balance. I tried to send ...
2
votes
1answer
36 views

Does Stellar Laboratory query the DB, when it tries to get the Sequence Number?

In Stellar Laboratory, in the Transaction Builder tab, the Transaction Sequence Number is required, there is button which gets the next Sequence Number. Does Stellar Laboratory gets the sequence ...
1
vote
1answer
41 views

Getting error “XDR Write Error: undefined is not a Hyper” when trying to create XDR for custom operation

I am trying to run a forked version of the Stellar-Laboratory, I have forked the js-stellar-base and js-stellar-sdk accordingly, basically what I am trying to do is add a new operation on the ...
1
vote
0answers
70 views

Can a transaction be successful in a 2-node private Stellar Network?

I have a 2-node private network running, when I try to submit a transaction using an XDR generated from the Stellar Lab, it first shows up as "PENDING", then one of the node stops working. Any idea, ...
0
votes
1answer
32 views

Multi-sign transaction is not working

I am creating a multi-sign transaction. When I am submitting the transaction to Stellar, response.isSuccess() returns false. Could anyone tell me where I am going wrong? link https://www.stellar.org/...
0
votes
1answer
29 views

Time-based wallet in Laboratory

I want to build a time-locked token with certain funding target to be used for crowdfunding. I have found the code for creating time bounds in javascript but I am unable to find the UI of Stellar ...
0
votes
1answer
19 views

How Do I Get Token Rate For Accepting Payment?

I am using a plugin on my website to accept Stellar tokens. I want to modify this plugin to accept more than what they have built into the plugin. The plugin uses Stellarterm API to get price ...
4
votes
1answer
196 views

How to expose a Horizon URL

I created a private network using only stellar-core, but I'm finding it increasing difficult to work with the network without SDK support. This can be all solved if I can use stellar-lab with my ...
3
votes
2answers
81 views

tx_too_early / Timebounds use

I'm following this tuto and I'm stuck at the part Transaction 3: Unlock (similar to this question already asked). My understanding : changing the thresholds to 1 when the minimum time is encountered. ...
2
votes
1answer
75 views

Unable to set optional 'Source Account' on 'Manage Data' operation

On all other operations I can use a different 'Source Account', but if I try to do it on 'Manage Data', I get: 'tx_failed' when sending with Python-sdk no changes applied to XDR if I try it in ...
3
votes
2answers
207 views

Streaming API not working?

I'm trying to enable streaming via the REST API but it doesn't seem to be working. curl -H "Accept: text/event-stream" "https://horizon-testnet.stellar.org/payments" This curl statement only returns ...
2
votes
1answer
185 views

Stellar port verification still not sure why it’s not verified?

I’ve produced a token (Zi) Zioncoin in the labs and verified it with the stellarid.io fed server. However it doesn’t seem to be verified on the stellar port exchange. https://zioncoin.org.uk/.well-...
2
votes
1answer
115 views

How do I retrieve the source account, memo, and amount using python?

How can I retrieve: transaction amount memo source Account from envelope_xdr using the python sdk?
4
votes
1answer
200 views

For 'txBadSeq', when is tx_fee charged?

Test Plan: The testing transactions were all "Pay 0.0001XLM", and there is far enough XLM to send. 5000 channel accounts were set up to try to prevent bad seq, but unfortunately it still happens as ...
3
votes
2answers
145 views

How to get a transaction records within a day

How to get a transaction record within a day? I am new to Stellar so how do I do this in Java? Is there any way?
1
vote
1answer
133 views

Trades stream setup

I have setup streams for transactions, payments, operations, and effects with the method from stellar api guide: this.server = new StellarSdk.Server('https://horizon.stellar.org'); this.stream = ...
2
votes
1answer
59 views

How can I direct stellar laboratory to my own instance of horizon?

I cloned the stellar laboratory project and edited the /src/constants/networks.js file to switch the testnet horizon url to url of my own horizon instance. This allowed me to get requests such as ...
1
vote
1answer
41 views

How might an estimate of the Stellar network's energy consumption be measured and monitored?

I'd like to estimate the emissions footprint of the Stellar network in an effort to compare various networks with one another. I realize this can a complex calculation depending upon where one starts ...
1
vote
1answer
138 views

Maximum Total Supply

What is the maximum Total Supply can be created for token in Stellar? I tried to make 100,000,000,000,000 but can't.
2
votes
2answers
109 views

.toml not reading

I have added .toml files and CORS also enabled The .toml file path is https://URL/.well-known/stellar.toml I have added home domain as well. But If I try to check it at endpoint explorer, it shows ...
3
votes
1answer
131 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
1answer
33 views

Inflation pool ledger protocol

When signing up for an inflation pool the hash on my Ledger and what was being displayed on the Stellar Laboratory did not match. I know that I am signing with my Ledger but is there any way for ...