Skip to main content

Questions tagged [stellar-sdk]

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

44 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
1 answer
104 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 ...
esc758's user avatar
  • 31
2 votes
1 answer
225 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 =...
Joze Jerse's user avatar
2 votes
0 answers
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 ...
Masood Moghini's user avatar
2 votes
0 answers
46 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 ...
John Murphy's user avatar
2 votes
1 answer
160 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 ...
Deb's user avatar
  • 233
1 vote
0 answers
34 views

Contract invoke error: 'Contract pre-release number does not match host' on Stellar using Soroban

I have deployed the crowdfunding contract on Stellar's Futurenet. When I invoke the contract functions on the terminal using the soroban cli, it gives the error contract pre-release number does not ...
Muhammad Zaryab Rafique's user avatar
1 vote
0 answers
25 views

Can't figure out tx_bad_seq in python3 stellar_sdk bot

I have created a bot using the python3 library stellar_sdk and i running multiple but with different coin pairs instances of this bot on my server but after a few times I get this error "...
hax-13's user avatar
  • 11
1 vote
0 answers
58 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....
elioni's user avatar
  • 11
1 vote
0 answers
52 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 ...
Sanat Mistry's user avatar
1 vote
1 answer
121 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 ...
Sohan's user avatar
  • 188
1 vote
0 answers
155 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, ...
user4668's user avatar
1 vote
1 answer
74 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. ...
Pickinanameainteasy's user avatar
1 vote
0 answers
38 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('...
praneeth mendu's user avatar
1 vote
0 answers
63 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. ...
Kingdavid Ochai's user avatar
1 vote
0 answers
30 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 ...
Tony's user avatar
  • 111
1 vote
0 answers
285 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' [...
John Murphy's user avatar
0 votes
0 answers
4 views

ERROR TypeError: XDR Write Error: [object Object] is not a ScVal

Getting the following error when I call the add_account function in the below contract. The function takes a address argument, so from the react app, when I convert the address to ScVal using ...
user8464's user avatar
  • 101
0 votes
0 answers
4 views

Facing Errors while installing Soroban CLI

this is what i get in terminal output: C:\Users\admin> cargo install --locked soroban-cli DEBUG: 1+ >>>> cargo install --locked soroban-cli Updating crates.io index Installing ...
Sarthi Borkar's user avatar
0 votes
0 answers
29 views

could not compile stellar xdr

Compiling gix-credentials v0.24.0 Compiling soroban-spec-rust v20.5.0 Compiling itertools v0.10.5 error: could not compile stellar-xdr (lib) Caused by: process didn't exit successfully: /home/...
user8376's user avatar
0 votes
0 answers
11 views

Difficulties connecting to Docker Quickstart instance using node js on pubnet

I have been trying the Docker Quickstart image for submitting transactions on the pubnet and, hopefully, also retrieving data. I (believe) I have increased storage capacity and also set CATCHUP_RECENT ...
Belatedgreeting's user avatar
0 votes
0 answers
8 views

Stellar KYC - Not Found when creating a customer {{ANCHOR_SERVER}}/sep12/customer

My anchor is up and running without issues, but when I try to start KYC (SEP12) for a customer, it returns a Not Found. Request: PUT URL: {{ANCHOR_URL}}/sep12/customer Request Body: { "...
Carlos Anaya Garay's user avatar
0 votes
0 answers
12 views

I want to retrieve the logo, symbol, and name of a token on the Stellar network

Is there any way for me to obtain the logo, symbol, and name of a particular token on the Stellar network using the Asset Issuer and Asset Code?
Solider's user avatar
0 votes
0 answers
52 views

Unable to deploy hello world contract using soroban cli tool

i tried using command - soroban contract deploy --wasm target/wasm32-unknown-unknown/release/soroban_nft.wasm --source alice --network futurenet Caused by: HostError: Error(WasmVm, InvalidInput) ...
the dev's user avatar
  • 101
0 votes
0 answers
18 views

Soroban CLI Error: Missing Result in Successful Response

I'm encountering an error while deploying a Soroban contract using the Soroban CLI. Here's the command I'm using: soroban contract deploy \ --wasm target/wasm32-unknown-unknown/release/hello_soroban....
the dev's user avatar
  • 101
0 votes
0 answers
48 views

How to get xlm (stellar) address/public key from xpub string?

I'm working a project in nodejs which involves getting address/public key info from supplied xpub string. I've managed to do this on multiple other cryptocurrencies, but have run into problems with ...
Noelt's user avatar
  • 1
0 votes
0 answers
39 views

Issues creating Muxed Account - dotnet-stellar-sdk

I hope this is the best place to find answers to this issue. I have attempted many times to create muxed accounts using this SDK (dotnet-stellar-sdk), but I continue to have this problem where any ...
Chris's user avatar
  • 21
0 votes
1 answer
51 views

I Working around Stellar Multisig and I am getting

at Function.setOptions (C:\Users\user\Desktop\multisig\node_modules\stellar-base\lib\operations\set_options.js:137:13) at setMultisigOnEmekaAccount (C:\Users\user\Desktop\multisig\multisig.js:30:...
Eben's user avatar
  • 1
0 votes
1 answer
84 views

How to create Stellar Muxed accounts using java-stellar-sdk

How to create Stellar Muxed accounts using java-stellar-sdk-0.31.0.jar, I want to create Muxed account with id 1 from custodian account GBMHTX6VOIIS4FNQSMTSWVHCMVCJXTTNXTIY3SBXI5K4NLDCTV5CJLZE ...
user1609897's user avatar
0 votes
0 answers
46 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/
startrek's user avatar
0 votes
0 answers
41 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 ...
NaSir HuSSaiN's user avatar
0 votes
1 answer
60 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 ...
Laimonas Simutis's user avatar
0 votes
1 answer
198 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 '...
Boohyung Lee's user avatar
0 votes
1 answer
144 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 ...
Ashwin's user avatar
  • 1
0 votes
1 answer
190 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 ...
Isha Padalia's user avatar
0 votes
1 answer
91 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.
Harrish Selvarajah's user avatar
0 votes
1 answer
66 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/...
IPEN's user avatar
  • 25
0 votes
1 answer
46 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: '...
SamSmith's user avatar
0 votes
1 answer
83 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 ...
cndolo's user avatar
  • 33
0 votes
1 answer
69 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 ...
Arunagiriswaran Ezhilan's user avatar
0 votes
0 answers
53 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::...
Suman Raj's user avatar
0 votes
1 answer
246 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 ...
Ebube's user avatar
  • 1
0 votes
1 answer
288 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 ...
Prashant Gangwar's user avatar
-1 votes
1 answer
124 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/...
lnband's user avatar
  • 7
-1 votes
3 answers
332 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 ...
Tzion buchris's user avatar