Questions tagged [stellar-sdk]

For questions regarding a Software Development Kit (SDK) for Stellar client applications.

Filter by
Sorted by
Tagged with
0
votes
1answer
121 views

stellar withdrawal -

I withdrew my stellar twice but it failed. Stellar charged me. How do I get the charges back and why can't stellar transfer coins to coinspot?
0
votes
1answer
32 views

Using Stellar SDK and account on Ledger

Perhaps what I am trying to do is not possible, but here is what my goal is: I want to transfer XML stored on my ledger device to another account using Stellar SDK. I have the 24 worked mneumonic, was ...
0
votes
1answer
210 views

Friendbot request fails with 400 (Bad Request)

I am trying to create an account on the stellar Test Network. I am using ASP .Net framework. But whenever I make a request and pass in the public key, I always get this error: Response status code ...
0
votes
1answer
21 views

Continuous Status 504

I have been developing a Multi-sig based project and keeps on getting the 504 status so many times when making transaction. I have checked out the testnet staus of Horizon network as well and it seems ...
1
vote
0answers
8 views

Getting op_cannot_claim error code, can't claim claimable balance

I'm getting an op_cannot_claim error code, when trying to claim claimable balance. I've checked the docs, they don't mention this error code at all. let account = await server.loadAccount(pairA....
1
vote
0answers
18 views

Understanding behavior of stellar API result codes

I am facing a challenge with stellar APIs while transferring funds from one wallet to another. The API fails with status 400 and the result code is 'op_no_trust'. I can verify that the destination ...
0
votes
1answer
53 views

Unsuccesfully creating public aaccount using FriendBot funded account

I run a validator node on the public network for which I need to create an account. Hence, I started by creating a Stellar account in the test network as described here. So far so good. As per my ...
0
votes
1answer
147 views

Error: tx_not_supported

It is developing code for sending transaction on the mainnet using stellar-sdk. A tx_not_supported error occurs during submitTransaction(). The network upgrade command(stellar-core http-command '...
0
votes
1answer
95 views

How to set up a anchor on stellar?

As I working on stellar Blockchain, can anyone guide me on how to create an anchor on stellar? and How it will give a withdraw amount in fiat currency & which protocol is it used to convert ...
0
votes
1answer
145 views

Minimum account balance Changed?

The base_reserve_in_stroops says 5,000,000 (0.05 XLM) in the following URL. This is a recent ledger entry. Does this mean it only takes 0.1 XLM (2 * 0.5 XLM) to create an account now? https://horizon....
0
votes
1answer
240 views

transaction is not submitting on stellar network!

load account is working fine and giving details of accounts means horizon is giving response but on transaction submitting getting error. local node setup done using docker image of stellar code ...
0
votes
0answers
7 views

nodejs addOperation within loop in TESTNET

Can please someone explain to me why the following code works fine: const transaction = new StellarSDK.TransactionBuilder(pAccount, txOptions) transaction.addOperation(StellarSDK.Operation.payment(...
0
votes
1answer
37 views

How can I access the Horizon:Error Response after raising error in code

After an error raised during a Transaction submission with server.submit_transaction() how can I access the corresponding (Horizon Response JSON object) https://developers.stellar.org/api/errors/...
1
vote
1answer
17 views

sep-24 deposit in polaris 2.1.0 not work (polaris 1.6.4 worked)

I tried to use Polaris 2.1.0 deployed in kubernetes. sep-24 deposit did not work in demo-wallet using I created test token (when I used Polaris 1.6.4, it worked). When I tried sep-24 deposit, Error ...
3
votes
3answers
551 views

How should the changeTrust Operation be used?

If I want to create a trustline between my issuing account and new users accounts, how do I do this. I tried with this code: const StellarSdk = require('stellar-sdk'); StellarSdk.Network....
1
vote
1answer
77 views

How to add memo to transaction?

I want to create a transaction with a memo, but i keep getting error this.memo.toXDRObject is not a function at TransactionBuilder.build code: let fee = await get_mining_fee(); const txOpts =...
0
votes
1answer
16 views

Can I authorize a user to only perform the 'Manage Data' Operation, and none of the other Operations

Can I authorize a user to only perform the 'Manage Data' Operation, and none of the other Operations listed here: https://developers.stellar.org/docs/start/list-of-operations/ I noticed that the ...
0
votes
0answers
18 views

Error being thrown on Stellar core v18.1.0 and Horizon v2.10.0

Need some help with Stellar Node, as I am running Stellar core v18.1.0 and Horizon v2.10.0, I had this issue in v17 of Stellar and still have it. The issue is that I am getting such errors: Error ...
3
votes
1answer
88 views

How to carry out compliance for transactions between customers using single compliance server?

I have set up an Anchor account and created a custom asset to have customers trade with. I want to set up some compliance for transactions sent from one customer to the other. All customers will be ...
2
votes
1answer
133 views

Error while transaction submission in the private network

So I am trying to do a transaction in the private network, I have named it standalone, I am using SSL. I started the network using docker, then created a keypair, then in another terminal ran node to ...
1
vote
1answer
33 views

How to properly set 'Value' in a ManageData operation on Stellar-SDK in Python?

I'm trying to set up a managedata operation. I added the following to my transaction: .append_manage_data_op(data_name="Hello", data_value="World") However, it doesn't go through. ...
2
votes
1answer
52 views

SEP-10 Authentication Sample

I've read the documentation about the SEP-10 Authentication Protocol of the network but is kinda overwhelming for me. Do have any available code snippets for the said process able to study thoroughly. ...
0
votes
1answer
26 views

Stellar Bifrost JS SDK Getting error says params.recoveryPublicKey is invalid

As per the instructions I modified the example.html file from https://github.com/stellar-deprecated/bifrost-js-sdk I set the params as follows: var params = { network: 'test', horizonURL: '...
0
votes
0answers
27 views

Can I build a wallet that can Buy, Sell, Send and Receive Cryptocurrnecy on Stellar

I am creating a P-2-P payment platform like Venmo but using Stellar. What I wanted to know is, is it possible to buy, sell, send, receive and swap cryptocurrencies on Stellar. To elaborate a bit more -...
0
votes
0answers
16 views

How do I query the Horizon server for the CREATION date and time of a Stellar DEX Offer?

I'm using the Javascript Stellar SDK and I'm trying to figure out how to ask Horizon for the creation date and time of an account's SDEX offers. The "Offer" object returned from Horizon only ...
0
votes
1answer
45 views

Inferring operationID from get transactions stream data

Currently, I am getting transaction detail from transaction stream using stellar sdk. So for getting the operation details the envelope XDR is decoded. But the operationID couldn't be retrieved from ...
-1
votes
3answers
254 views

How can i get the base reserve for stellar?

currently in ripple when i need to check how much is the minimum required to keep account valid there is a property called reserve base XRP is there something similar in stellar? because to write hard ...
0
votes
0answers
10 views

Stellar-wallet / Nothing shows up on the Stencil page

I've followed the "Create a Basic Wallet" category on Stellar DOCS (links below) and everything seems to be working correctly except once I run the Stencil page (npm start) , nothing shows ...
1
vote
1answer
49 views

How to reserve a transaction sequence number?

I have a multisig account and need to initiate a transaction for set option operation. So prepared a transaction which will be expired in 7 days and within this time all (3 out 3 signers) has to sign ...
0
votes
1answer
69 views

Could not connect to stellar testnet using stellar testnet url

I tried getting balance of my stellar account after generating key pairs using the following code: const server = new StellarSdk.Server("https://horizon-testnet.stellar.org"); // the JS SDK ...
0
votes
1answer
50 views

can not delete create passive sell offer

in stellar docs (https://developers.stellar.org/docs/start/list-of-operations/#create-passive-sell-offer) Amount of selling being sold. Set to 0 if you want to delete an existing offer. if I set ...
0
votes
0answers
20 views

If Stellar key pairs are Ed25519, does this mean that minisign keys can be as Stellar keys?

Can I use minisign keys, which are ed25519, as unique Stellar keypairs? https://stellar.github.io/js-stellar-sdk/Keypair.html https://jedisct1.github.io/minisign/
0
votes
1answer
125 views

How can I view transactions within a specific date range?

Is there any solution for filtering transactions by date? Scenario: I wanna fetch transactions for a specific account in a specific range of date like 2020/04/04 to 2020/05/04 I looked for it a lot in ...
0
votes
1answer
50 views

Cannot install via npm for node on Windows

I'm trying to download the stellar SDK for my angular project but the npm install fails.
0
votes
1answer
20 views

Payment Transaction taking 6 seconds

Using the SDK and making very basic payments from one wallet to another with a digital asset. The issue is that every transaction that is made takes 6 seconds from call to response from the SDK. ...
0
votes
0answers
27 views

call to stellar Expert using javascript

So the situation is I am trying to fetch some accounts from https://api.stellar.expert using javascript but my request is returned with 403 error status which means it is rejected but when I hit the ...
0
votes
2answers
37 views

Is there any option to get the price of XLM via python stellar_sdk or API?

For example XLM = $0.3537 now Is there any option or API&SDK script for it? or Do I have get it from other website?
0
votes
1answer
31 views

Timeout when submitting tx to the blockchain

I have running stellar core and stellar horizon together. Sometimes (recently even more) I am receiving such a response when trying to push tx to the blockchain. How could I approach this issue or ...
-1
votes
1answer
118 views

(SOLVED) - Error when sending money (C++ QT SDK)

I had this working before (like a week ago) but now I am having issues with sending money to an account. I keep getting this error string "Error transferring https://horizon-testnet.stellar.org/...
3
votes
1answer
345 views

Stellar: How to pay the account using custom asset?

I've created accountA with a custom asset code ASTRO and trust by issuing account(AA). Next, I created another accountB with asset ASTRO trust by issuing account(AA). Now, when I tried to create a ...
1
vote
0answers
51 views

Transactions keep failing with reason 'op_under_dest_min'

I have written a simple program to swap assets using the strict_send method available stellar sdk for interacting with Horizon HTTP API. Below is the code construct - it's not productionized however, ...
0
votes
0answers
16 views

How to make a stellar project using the Django framework?

I have been tasked to develop a stellar platform and want to develop it in Django, but I have not found any documentation or specification in Django. Here are my requirements: Register/Login input ...
2
votes
1answer
58 views

Payment Deducted from channel account and not from source account

I am trying to implement the concept of channels in my stellar project. I have refered https://www.stellar.org/developers/guides/channels.html this link. As it is said that, the source account of the ...
0
votes
1answer
28 views

Linking 3 Validator nodes - Javascript SDK

I'm attempting to ling 3 validator nodes - with the objective of becoming a Full Validator. I'm performing this operation based on the Link Validator requirements as described on https://github.com/...
2
votes
2answers
76 views

stellar payment tx_bad_seq error

I am using stellar sdk to send payments from one account to another. When i send payment one by one , there is no error . everything works fine. However when i try to send payments in batch i get ...
0
votes
1answer
69 views

How to check if Stellar's account is valid or exist?

How to check if account does not exist with the Java SDK? and how to know if a public key is valid? I found one way to the first question but is not a clean solution Server server = new Server("...
0
votes
0answers
14 views

ChangeTrust python

I'm trying to ChangeTrust operation using stellar api, that's my codes https://pastebin.com/TSN7Uu1A and i get this error Traceback (most recent call last): File "C:\Users\i9\Desktop\tokend.py&...
0
votes
1answer
36 views

How do I add a trust line to a new account

The following code creates an account, except for the part where I try to add a trust line to an asset. It returns a code 400. What am I writing incorrectly regarding the add trust operation? const ...
5
votes
1answer
145 views

How can I do asymmetric encryption and decryption?

How can I do asymmetric encryption by using Stellar's private key of sender and Stellar's public key of receiver and vice-versa in case of case decryption? I had gone through many methods but I am ...
2
votes
1answer
183 views

Error tx_bad_seq, is it just about the sequence number?

I have a problem broadcasting a transaction for stellar. It ends and gives me the error tx_bad_seq. The thing is I have checked and rechecked the account sequence number multiple times. I feed in the ...