All Questions

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

Retrieve transaction memo text with Java API

I need to retrieve some transactions from a specific account and then read the memo. I've tried a couple of different methods with no success. My first attempt was as below, but I get odd looking memo ...
1
vote
1answer
19 views

SCC: why are there 2 SQL files?

The SCC (Stellar Core Commander) is a tool used to generate a "state" for Horizon's tests. When I run it against an .rb script, it generates a single .sql file - essentially a 'pg_dump' of the sql ...
0
votes
1answer
12 views

Stellar_core_commander: Getting an exception trying to run “scc -r base.rb”

Stellar's utility ("Stellar_Core_Commander") is a tool used to deterministically create snapshots of the SQL DB by running a set of stellar operations. Its written in ruby. To run it, you need to ...
1
vote
1answer
30 views

“No converter found for return value of type: class org.stellar.sdk.requests.TransactionsRequestBuilder” when getting transaction history

This is my code for transaction history: @RequestMapping(value = EmpRestURIConstants.TRANS_HIS, method = RequestMethod.POST) public @ResponseBody TransactionsRequestBuilder transactionHistory(@...
2
votes
1answer
23 views

How do private network upgrades work?

I don't understand how network upgrade work. When I call the endpoint /upgrades?mode=set&upgradetime=2019-04-13T20:23:55Z&basefee=1000000&basereserve=1&protocolversion=10 Will the ...
1
vote
2answers
39 views

Exception while send Transaction using Java stellar SDK “TimeBounds has to be set or you must call setTimeout(TIMEOUT_INFINITE)”

I am getting the following Exception while performing send transaction using the Java Stellar SDK. This is my send transaction code: import org.stellar.sdk.AssetTypeNative; import org.stellar.sdk....
-1
votes
1answer
14 views

YAML Configuration Template Issue

So I was going from this nebula package config for AWS that was created, but I was trying to POC what the prod version of the configs for this would look like. I am not that verbose with YAML and am ...
4
votes
1answer
63 views

History Archive Configuration for Private Networks

I have a similar question to this but it remains unanswered and there is no documentation to be found when it comes to running a stable and resilient production network. Setup I am working on a ...
1
vote
1answer
30 views

Can I format the TOML file to include line breaks and website links

My stellar.toml file is active, and I am wondering if I can format the strings with some HTML so they display better on sites like stellar.export or stellarport.io. My description of the asset is ...
0
votes
1answer
32 views

Connecting private set of quorum of 3 nodes on stellar test network

I have a 3 nodes running on a private network paraphrase and all of them are validators. Able to send the transactions over horizon. Now, can I connect my quorum of 3 validators with test-network ? ...
0
votes
1answer
66 views

Paying with Custom Tokens

UPDATE: I removed the quotes from BPTOKEN. That was a mistake. I had them removed in the real code but cut and pasted a change before this happened. It has been corrected and the error included. ...
5
votes
1answer
44 views

What is the origin of an account's initial sequence number

According to the stellar docs Sequence number The current transaction sequence number of the account. This number starts equal to the ledger number at which the account was created This does ...
1
vote
1answer
31 views

Custom assets balance of sender is not updating in stellar

I know this questions is already asked, but the solution provided is not proper. So asking the question again. We created a custom assets with name FOC. when we send any FOC to any account, the ...
0
votes
1answer
32 views

Do I Need to fund Stellar with Lumens for custom token based wallets too?

I want to create custom token for my system but it seems that I can not create a wallet unless I fund it with 1 XLM? Is it true? If not why my wallet is not being created? Thanks
1
vote
2answers
35 views

Using SDF's Horizon server for Production Systems

I know SDF provides a public Horizon server too. My question from those who are using for their production apps, is it reliable enough or would you suggest running your own Horizon server?
1
vote
1answer
23 views

Can the docker quickstart allow me to test out “becoming an anchor”?

Or must I set up according to the Administration documentation then follow the steps on configuring a bridge server, federation server, etc. As the documentation steps in becoming an anchor seems to ...
0
votes
1answer
55 views

Unable to store archive in s3 bucket

I need to store archive in aws s3 bucket. My Node configuration is: LOG_FILE_PATH="/home/ubuntu/04.04.2019/Node1/my-core/logs" BUCKET_DIR_PATH="/home/ubuntu/04.04.2019/Node1/my-core/buckets" ...
1
vote
2answers
81 views

How to configure package stellar-horizon-postgres?

Using stellar-quickstart, I am able to install, then start and sync stellar-core. However, my attempts to install stellar-horizon fail with the following message: Package stellar-horizon-postgres ...
1
vote
2answers
26 views

How to set managed data on an account

I am new to stellar. I want to add a data to my stellar account as a key value pair. As in "Name"(Key) - "John"(Value). How can I achieve this? Pointing me to a sample code would be really ...
2
votes
1answer
28 views

What's (number of lumens in existence) in inflation? It needs clarification

The inflation pool is (number of lumens in existence)*(weekly inflation rate) + fee pool. And I know that I need to have more than 0.05% of existing Lumens to receive inflation without joining ...
3
votes
1answer
32 views

What field should I use to get current block number

https://horizon.stellar.org/ returns history_latest_ledger and core_latest_ledger. Which field should be used to get the current block number? Which one is more reliable? Diffs? I assume ...
3
votes
1answer
30 views

Are sponsored transactions available?

We need users to send our tokens (TKS) and have transaction fee paid with TKS, without worrying about getting native currency for tx fee. Is this possible on Stellar?
4
votes
1answer
53 views

How is the weekly inflation calculated?

Is it based on daily average of just a snapshot of Monday 11:59 UTC
3
votes
1answer
25 views

How do I test out the DEX in a standalone network?

I tried reading the documentations but didn't see any sample code regarding utilizing DEX in a standalone/private network. Any advice? Would like to simulate sending fiat currency from account A, and ...
1
vote
1answer
16 views

Federation servers and address binding

I was exploring on fed servers and understood that They are servers which host Stellar.toml file on their /.well-known/stellar.toml path This server keeps the binding of selected username and Stellar ...
1
vote
1answer
36 views

Is Operation Id unique?

I am confusing about operation id. Is it unique within the network or within a transaction? In other words, will it be enough to store only OperationId in DB or should the Primary Key be a complex (...
1
vote
3answers
72 views

Token/Custom Assets Creation Documentation

OK, I have reviewed both of the Stellar.org created documents on creating Custom Assets/Tokens, then I looked at two third party documents. The third party documents are much much better than ...
2
votes
1answer
52 views

Stellar scalability to 4000 tx/s

I tried to scale Stellar Standalone to process 4000 tx per second. I use AWS EC2 m4.large for Core, and Horizon. Also I use Postgres RDS for core and Horrizon, but I have only 560 tx per second. My ...
1
vote
1answer
37 views

Escrow account releases funds imediately when configuring lock-in period

Hoping for a simple scenario following This thread: 1) Creating wallets from master accounts 2) Funding the escrow wallet 3) Giving the lock - in time bound period 4) Releasing the amount locked ...
1
vote
1answer
53 views

How to decode Core DB Account.Signers using the stellar js-sdk

In the recent core v10.3, there is a new base64 encoded column in the accounts table in the core db which replaces the signers table in earlier core versions. How can I decode this column to produce a ...
1
vote
1answer
20 views

Compliance Protocol for B2C

Forgive me if it sounds stupid but I really have to understand.. In my example, we are creating a stable coin on Stellar and the Compliance Protocol seems perfect for transactions between my company ...
1
vote
1answer
38 views

Memo in manageoffer

Can a memo be included in the managerOffer operation. I tried to include a memo in my manageoffer transaction but it did not go thru.
5
votes
2answers
62 views

Huge temporary bucket files created - and then destroyed on all cores. Is this normal?

I'm maintaining a network of Stellar nodes with quite a lot of traffic, for quite some time now (almost half a year). Everything has been quite stable so far, but last week I noticed that all the core ...
1
vote
1answer
31 views

Python: Retrieve Offer_id from a manage offer operation?

I am using the python py-stellar-base to create a new offer operation. To manage the offer in the future I want to be able to retrieve the created offer_id from the completed transaction. builder....
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 ...
3
votes
1answer
46 views

Network maintenance & maintaining archive

I have set up a private network. I am writing history archive in local server as of now since it is in dev phase. I have noticed that the archive is missing few ledger/bucket as a result of which if ...
3
votes
1answer
47 views

Dynamic Quorum set configuration for master node - Add / Remove Validators

Is it possible to dynamically set / configure validators in a Quorum set? For example I have a Quorum set of 4 nodes say - {A,B,C,D}. Which have equal slice or equal participation. Now, if we would ...
2
votes
1answer
36 views

Can an account hold multiple assets?

Can an account hold multiple assets? If yes, how do transactions get recorded for each asset? If no, should we create multiple accounts, one for each asset?
1
vote
0answers
19 views

stellar-core on CentOS 7 - systemd issue

I run stellar-core on CentOS7. When I run by using command line, everything is fine, and I can create account. However, when I run it on systemd, I always encounter timeout failure The user I ...
1
vote
1answer
33 views

Stellar core log: idle timeout and connectHandler error: Operation aborted

Is this normal? How do I fix? 2019-03-15T19:55:53.368 GDDAN [Ledger INFO] Got consensus: [seq=22945300, prev=a60b85, tx_count=20, sv: [ txH: f5976e, ct: 1552679752, upgrades: [ ] ]] 2019-03-15T19:55:...
1
vote
1answer
32 views

Is there no notion of on-chain deploy on Stellar?

I saw some answers suggesting contracts cannot be published in advance, in contrast to the Ethereum model. Just to clarify: does this mean you do not ever deploy onto the chain itself? So, you ...
3
votes
4answers
55 views

Preventing knock-off assets

I understand from here and here that assets are defined by the unique combination of their asset_code and their asset_issuer. Suppose I am asset_issuer=Steven and I want to issue asset_code=...
1
vote
1answer
29 views

What tool is used for browser interactivity?

The use-case is I would like someone to buy an asset directly on a website, by clicking GUI-buttons and preferring client-side code, rather than asking them to write code or give a server their keys. ...
2
votes
1answer
26 views

How to configure Horizon response _links.href values to use https?

I am running Stellar core and Horizon behind an Nginx reverse proxy and encountering issues with the _link.href output by Horizon. The SSL is terminated at nginx, with the connection to Horizon non-...
2
votes
1answer
44 views

How to evaluate trustlines?

I read about trustlines here. But in implementation, how do you make trust decisions, and what can go wrong if you're wrong? In practice: how can you measure whether a counterparty is someone who ...
1
vote
1answer
34 views

Error: XDR Write Error: not an integer while issuing the asset in stellar network

I am trying to issue an asset in stellar using the following code var StellarSdk = require('stellar-sdk'); StellarSdk.Network.useTestNetwork(); var server = new StellarSdk.Server('https://horizon-...
0
votes
1answer
27 views

How to list all unique contracts on the network?

From a study comparing smart contracts on Ethereum and Stellar, there's a point in the study about downloading all contracts: Testing Smart Contracts: Ethereum vs. Stellar The researchers from ...
1
vote
1answer
16 views

How to interpret the output of the assets endpoint

I'm looking to list all unique assets on the network, per this endpoint/sdk. I understand there are interesting public aggregations of this information, such as: https://stellarasset.com/ https://...
0
votes
2answers
35 views

Framework for a hello world application

Really simple question, with presumably involved answer: I'm trying to understand how to make what starts off as a simple hello_world application where I sell the integers "1-2-3..50" to USER=account ...
1
vote
1answer
49 views

How to listening new XLM transaction for multiple accounts

I'm totally new in stellar network. I have experienced create transaction listener for bitcoin and ethereum by listen to every new transaction, if that transaction contain my address it send callback ...

15 30 50 per page