All Questions

Filter by
Sorted by
Tagged with
6
votes
2answers
257 views

How to serialize, send over network, deserialize a transaction envelope for multiple signatures?

I'm trying to send over the network a base64 encoded string representing a partly signed envelope. I need to parse the string back to the original javascript object in order to add a new signature to ...
5
votes
1answer
186 views

How to add a signature using Ledger Nano

I'm trying to add a signature using a Ledger Nano HW wallet but I could not find a question about it. I'm going to research the topic and post a working solution for that.
2
votes
1answer
64 views

Python Stellar SDK Test Net

I'm confused on how to use the Stellar Testnet for python. I have set up the friendbot to create an account. ('https://friendbot.stellar.org') How do we set up a balance on the testnet using the bot?
1
vote
1answer
81 views

How to get wallet id of an order?

I want to block some dumpers of my coin. Is there any Java code which I can use to get the wallet id of the low offers? For example if someone is buying less then 0.1 I want to get that offer and the ...
2
votes
1answer
37 views

Is there anyway to get the amount of asset which you sent?

as an ashore is there anyway to get the amount of the asset which you sent to the other wallets? like the the addition operation .
4
votes
2answers
178 views

How to use the ManageOfferOperation with Assets in the Java SDK?

Right now I'm playing around with the test server Server server = new Server("https://horizon-testnet.stellar.org"); The Stellar getting started guides are very well written, but definitely ...
2
votes
1answer
64 views

How to parse current offers with the Java SDK

Sorry for another illiterate question, but how the heck do you parse the https://horizon-testnet.stellar.org/accounts/ACCOUNT_PUBLIC_ID/offers page? There is almost no documentation on this. I have ...
5
votes
2answers
367 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?
4
votes
1answer
80 views

java sdk leaking threads; my fault or bug?

In the simplest case, when I have a KeyPair key for an account that doesn't yet exist, and call // private Server mServer; // declared and intialized elsewhere mServer.accounts().account(key); it ...
2
votes
1answer
78 views

How can i can freeze credit held by another account in Stellar SDK?

I read the guide from stellar.org but still couldn't find a solution. This is the guide: https://www.stellar.org/developers/guides/issuing-assets.html https://www.stellar.org/developers/guides/...
5
votes
2answers
820 views

Can you burn custom tokens on the Stellar network?

I'm curious if the Stellar network has the ability to "burn" or "freeze" custom tokens created on the network. The two use cases would be: Token is assigned to an account and should be frozen and ...
2
votes
2answers
414 views

tx_bad_seq error when creating account with the root account of Stellar private network

I constructed the Stellar private network on my Mac following https://www.stellar.org/developers/stellar-core/software/admin.html#starting-a-new-network with postgres and horizon server. I know what ...
1
vote
2answers
325 views

Where to enter javascript SDK commands (to generate seed for example)

On the page https://www.stellar.org/developers/guides/get-started/create-account.html is stated: "You can generate the seed and key with the following command" // create a completely new and ...
6
votes
1answer
174 views

How to listen to a third party account for stellar transactions from now?

I used paymentRequest.stream to start listen to events for a third party account. But it gets all events from the beginning if I don't provide a paging token. As it is a third party account, my ...
2
votes
1answer
311 views

Using Java api, how to find out the memo attached to a payment operation?

I can use the following code from example to receive payment event from public horizon. But the pos variable doesn't have memo information. Where should I get the memo from a certain paymente ...
4
votes
1answer
73 views

What sort of simple tasks could I add to my wallet in the stellar SDK? [closed]

What would be three of the most used lines of code in the JavaScript SDK that could make my wallet perform small actions for me?
8
votes
1answer
159 views

Is there a way to unset home domain and inflation destination options?

Using the Javascript SDK I'm trying different ways of unsetting the home domain and inflation destination options without success. Is this something that is supported at all on the network, is it just ...
5
votes
1answer
82 views

Error: no PRNG in Safari web workers

Hey guys I'm working on a vanity address generator using the Stellar JS SDK inside web workers to relief the main thread from heavy computations. However, it is giving me an error 'no PRNG' regarding ...
7
votes
1answer
66 views

Is there a public queryable version of Stellar.db out there?

Do I need to host my own continuous instance of horizon pointed to a DB that I control in order to execute a query like: SELECT SUM(balance) FROM accounts WHERE inflationdest = {inflation_destination}...
2
votes
1answer
140 views

ELI5: The XDR format

Bear with me, I am a relative beginner. I am implementing a Stellar SDK in R (not a standard SDK obviously) and I am at the stage where I need write functionality to build a transaction. I understand ...
1
vote
1answer
45 views

Where is an accurate source for XLM to USD exchange rate?

Where is an accurate source for XLM to USD exchange rate? I'd like to programatically keep offers in line with market rates.
4
votes
3answers
302 views

Adding a custom stellar token to other exchanges

Are there exchanges other than the Stellar Decentralized Exchange (SDEX) that can list custom Stellar assets? Kind of like how ERC20 tokens can be listed alongside ETH on exchanges. -- Updated to ...
3
votes
2answers
231 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
64 views

Bifrost JS Listener

I just saw that there is a new release of bifrost. Without checking deep into the code I want to ask two questions here first of which I think more people are interested in the answers: So my ...
2
votes
1answer
32 views

How to remove 2FA from launch.stellar.org login

Need some help. I had account in https://launch.stellar.org/#/login in 2014. I wanted to log in, but only thing I have is - username and RECOVERY code for password reset. But when I enter these ...
2
votes
1answer
427 views

TX_BAD_AUTH_EXTRA at submiting a transaction

I'm getting an error at trying to issue an asset following this schema: (issuer) An issuer account (Nano ledger) that will create and send the asset to a secondary account. (bhMain) Secondary account ...
3
votes
1answer
91 views

When do validators know to push the data from the latest ledger to archive nodes?

As Validators agree on the latest transaction sets to apply to the ledger when do they know to update the data being stored in the archive nodes? Is it based on the owner of an archive node listening ...
3
votes
2answers
199 views

Should Every Node Contain The Same Quorum Set Configuration?

Suppose I want to set up four nodes: A, B, C, D. I want A to trust B, and C to trust D, so the set is denoted by {{A, b}, {C, D}}. I want to set up a situation where either one of these sets can vote ...
1
vote
2answers
64 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 ...
4
votes
1answer
743 views

Stellar Horizon not synchronizing

Background: Using satoshipay/stellar-horizon:0.11.1 for Horizon Stellar Core seems to be running. Based on logs, we get the latest sequence number and ledger: 2018-04-18T10:31:32.695 GDYMW [Ledger ...
7
votes
2answers
137 views

Does the second letter of the public address having any meaning since it only appears to be one of four characters?

Does the second letter of the public address having any meaning since it only appears to be one of four characters? All accounts that I've looked at start with either GA, GB, GC or GD. Is there some ...
1
vote
1answer
126 views

Stellar failure safety with UNSAFE_QUORUM false

Stellar failure safety is defined as n = 3f+1 <=> f = (n-1)/3 n is number of node and f is failure safety. I have setup 3 nodes with my quorum and THRESHOLD_PERCENT=67 but it is not ...
4
votes
3answers
211 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 ...
2
votes
1answer
106 views

How does the Stellar Network prevent an actor with small quorum intersection from halting the network

I am thinking through some of the edge cases of adversaries attempting to compromise the Stellar Network. Let's say an adversary creates four consensus bearing Stellar-core nodes and runs all four of ...
1
vote
2answers
156 views

What is the proper way to use federated addresses to send funds?

Stellar Docs are great, but I feel they miss the content for bringing all the servers together. If an entity is acting as a custodian on behalf of their users and uses a Hot/Cold wallet architecture ...
2
votes
1answer
60 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
115 views

When issuing a new verified asset is there anything beyond hosting a stellar.toml file I should be sure to do?

I making some development plans and just want to be sure I'm not missing anything obvious. I've read this post How is an asset verified? So far, my intention is to list a new asset and have it ...
4
votes
1answer
85 views

Getting the 'offerId' on a new Offer and any documentation on 'xdr.ManageOfferOp'?

I'm using the JS-SDK to make offers. An issue I am having though is getting the offerId from a new offer. The offerId is required to manage a pre-existing offer. As such, it seems that the offerId ...
2
votes
1answer
76 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 ...
4
votes
1answer
96 views

Bifrost is not detecting incoming transaction

i have succesfully setup bifrost and geth on my pc. And now i'm trying to simulate ICO using bifrost-js-sdk example.html, by sending some ropsten ETH to address provided. But it seems that there's no ...
3
votes
1answer
55 views

Can different assets on Stellar be associated with one another programmatically?

Stablecoins would be great to have in stellar, but I am struggling to see how one could create an automated seignorage shares model for creating a stable coin on the Stellar Network. Is there a way ...
1
vote
0answers
35 views

Bonds on Stellar, can we make a use case? [duplicate]

Assume I create an asset on Stellar: It's a 5 year bond that pays annual interest of 3%. The asset has an ISIN code and will be distributed to around 20 investors. The investor should be able to sell ...
2
votes
1answer
116 views

How should federation servers find each other?

In the architecture for supporting friendly name lookups, the federation docs use tunde_adebayo*your_org.com as the example of the friendly name followed by the url for the server containing the user. ...
3
votes
1answer
442 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
2answers
251 views

How/where can I host a stellar-core watcher node outside of local?

I've recently gotten a stellar-core watcher node up on my local machine and built another separate console application to interact with the database. The database itself is hosted with Amazon RDS. The ...
3
votes
2answers
237 views

What does it mean with “surge pricing in effect” at Stellar-Core?

As I tested my private network by flooding transaction (around 60TPS) via Horizon using JS-sdk, SCP errored. The only abnormalty that I observed was: [Herder WARNING] surge pricing in effect! 142 ...
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 ...
2
votes
1answer
106 views

preAuthTx - matching transactions

I have few doubts regarding pre authorized transaction As per the tutorial "Signers of this type are automatically removed from the account when a matching transaction is properly applied". What ...
2
votes
1answer
71 views

Issue with Submit Transaction

Am using Java SDK and Horizon Testnet. Issue is when i submit a transaction using server.submitTransaction method i get following exception, please let me know if you need any more information javax....
12
votes
2answers
827 views

How does the Stellar Consensus Protocol prevent Sybil attacks?

A Sybil attack is an attack where a single adversary controls multiple nodes on a network in order to influence voting to their advantage. It is unknown to the rest of the network that the nodes are ...

15 30 50 per page