Questions tagged [stellar-sdk]

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

49 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
81 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
0answers
3k views

All files must be modules when the '--isolatedModules' flag is provided

Describe the problem This problem appears when I want to participate in development , I clone the project javascript stellar-sdk then run npm install What version are you on? 4.1.0 To Reproduce ...
2
votes
0answers
32 views

How to filter only the most recent n number of operations of an account for only a specific Asset?

I had a function that returned the most recent 3 payment operations for an account. But I wante to change it so that it would only return the most recent 3 payment operations for only the asset being ...
2
votes
1answer
129 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
0answers
14 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, ...
1
vote
1answer
23 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. ...
1
vote
0answers
23 views

406 : "not applicable" when trying to stream DEX offers

I am trying to stream my dex offers, but I keep getting 406 : not applicable To Reproduce // "stellar-sdk": "^5.0.2", let StellarSdk = require('stellar-sdk') let server = new StellarSdk.Server('...
1
vote
0answers
47 views

How do i build a fiat payment processor(Gateway) on stellar

I want to develop a payment gateway that can be integrated into online stores, merchants can seamlessly receive payments directly to their bank account. I want to build all the features on stellar. ...
1
vote
0answers
20 views

Android Stellar SDK throwing NullPointerException on KeyStore.aliases() in Crashlytics reports

Crashlytics report for my android app shows that a considerable number of my users are getting the following null pointer exception. Most of my users who get this error are on Android 6. It happens ...
1
vote
0answers
194 views

Error when trying to install stellar-sdk from npm, "LINK : fatal error LNK1181: cannot open input file 'C:\OpenSSL-Win64\lib\libe ay32.lib'"

Anyone know what this means or how to fix it? I ran the command npm install --save stellar-sdk and got this LINK : fatal error LNK1181: cannot open input file 'C:\OpenSSL-Win64\lib\libe ay32.lib' [...
0
votes
2answers
19 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
0answers
14 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 ...
0
votes
1answer
14 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
9 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
0answers
17 views

How to load initial lumen into accounts programmatically

I'm quite new to stellar and have been reading through the documentation, suppose I want to create an app that allows users to send money across borders, as they are signing up I would have to create ...
0
votes
1answer
23 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
0answers
17 views

How i can develop NTF on Stellar Smart contact?

I want to develop a token smart contract on stellar and NFT on stellar smart contract. Can you pls help to find the process to develop this
0
votes
0answers
20 views

Create claimable balance stellar operation, claimant.predicate

How to make sdk.claimant.predicate call with json object.something like this => {"_destination": "destination", "_predicate":{"and":[{"or":[{"...
0
votes
0answers
25 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
0answers
13 views

Remittances SEP-0031

I need help to set up our dev environment for remittances using SEP-0031. Here after loads of research and some tries, To be able to do setup things we tried setting up SEP-0031 Anchor server, which ...
0
votes
0answers
23 views

SEP-0031 Setting Up Dev Env

I need help to set up our dev environment for remittances using SEP-0031. To be able to do that we tried setting up SEP-0031 Anchor server, which we managed to do successfully, but now we are unable ...
0
votes
0answers
18 views

fees from custom tokens on the standalone network Stellar

Is it possible to write off a commission from custom tokens, during transactions, and not from xml, in a standalone network Stellar.
0
votes
1answer
106 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
0answers
16 views

SEP 30 Implementation Queries/issues

SEP30 still in draft hence we looking to implement it. while implementing this there are some issues/queries which i need help. 1.Register account (POST /accounts/<address>) : Here the <...
0
votes
1answer
40 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
0answers
9 views

Using Angular 7 and having cannot read property useTestNetwork

import * as StellarSdk from ‘stellar-sdk/dist/stellar-sdk.min.js’ In my constructor I have: This.stellarServer =new StellarSdk.Server(‘https://horizon-test net.stellar.org’); StellarSdk.Network....
0
votes
1answer
69 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
17 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 ...
0
votes
0answers
19 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
39 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
1answer
40 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
0answers
18 views

ClaimClaimableBalance

I written one java code which for ClaimClaimableBalanceOperation but after submitting the transaction it returns nothing, only null even not error code. I have created the accounts and Claim on ...
0
votes
0answers
11 views

Document did not contain stellar_address

I'm a Stellar beginner trying to validate an account I just created as follows: val server = FederationServer("https://horizon-testnet.stellar.org") val keyPair = KeyPair.random for { ...
0
votes
0answers
6 views

CreateAccount stopped working on GO Client SDK on latest version

I have the following code that used to work: client := n.getClient() // get the account details for master account masterKey := keypair.Master(n.passphrase) ar := horizonclient....
0
votes
0answers
15 views

stellar-sdk.js:9457 POST https://horizon-testnet.stellar.org/transactions 400 (Bad Request)

whenever I run this HTML page <!Doctype html> <html> <head> <script src="https://cdnjs.cloudflare.com/ajax/libs/stellar-sdk/0.11.0/stellar-sdk.js"></script>...
0
votes
0answers
6 views

const pair = StellarSdk.Keypair.random(); ^ ReferenceError: StellarSdk is not defined

when ever i try to run this code // create a completely new and unique pair of keys // see more about KeyPair objects: https://stellar.github.io/js-stellar-sdk/Keypair.html const pair = StellarSdk....
0
votes
1answer
57 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
25 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/...
0
votes
1answer
17 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
1answer
83 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
46 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
102 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
41 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 ...
0
votes
0answers
49 views

Made few changes in stellar core file. Saved it but cannot see the changes in the new transactions i am performing

I have made certain changes in LedgerManagerImpl.cpp file under src-> ledger folder on line approx 68-72 const uint32_t LedgerManager::GENESIS_LEDGER_BASE_FEE = 50; const uint32_t LedgerManager::...
0
votes
1answer
195 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
3answers
225 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
1answer
226 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
1answer
137 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....
-1
votes
1answer
111 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/...