Questions tagged [stellar-sdk]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 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
6 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
10 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
46 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) ...
UPENDRA SINGH's user avatar
0 votes
0 answers
17 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....
UPENDRA SINGH's user avatar
1 vote
0 answers
30 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
0 votes
1 answer
22 views

How to Build transaction XDR before signing it and then later add the signature to the XDr

I'm trying to build an XDR utilizing txnbuild, a Stellar SDK in Go. I've tried some examples given way back in 2018 but most of the methods are deprecated. For example : What is the correct way to ...
Keleigh Berenger's user avatar
0 votes
0 answers
44 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
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
0 votes
0 answers
21 views

Stellar Cross-Border Payments (Do SEP-38 is Mandatory to Implement)

We are implementing cross border payments using stellar SEP 31 protocol. Looking out for a guidance on SEP 38 that gives us details about the quotes for an on/off stellar asset. As you know, SEP 38 is ...
DevUser123's user avatar
0 votes
1 answer
26 views

What is the Trustor?

I am struggling with the Terminolgy. allowTrust := txnbuild.SetTrustLineFlags{ Trustor: Whos Address?, Asset: issuedAsset, SetFlags: []txnbuild.TrustLineFlag{txnbuild....
Cyberience's user avatar
0 votes
0 answers
38 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
48 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
59 views

Transaction not supported

I configured a private Stellar blockchain network composed of 2 nodes. When I try to create an account on this private blockchain I get the following error: stellar_sdk.exceptions.BadRequestError: { ...
Fabrizio Sandri's user avatar
0 votes
1 answer
76 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
1 vote
0 answers
56 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
51 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
31 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 ...
kmpartner's user avatar
0 votes
0 answers
45 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
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
0 votes
1 answer
35 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. ...
JustAnotherDev's user avatar
0 votes
1 answer
112 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 ...
Sebastian Wdowiarz's user avatar
0 votes
2 answers
122 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?
Danny's user avatar
  • 1
1 vote
0 answers
154 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
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
33 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/...
Magick's user avatar
  • 103
0 votes
1 answer
20 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 ...
Tester2020's user avatar
0 votes
2 answers
223 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("...
villanuevaquelin'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
1 answer
85 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 ...
p3scobar's user avatar
  • 117
0 votes
1 answer
59 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
197 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
1 vote
1 answer
70 views

Are lumens required for a custom network?

New to Stellar so forgive me if this is not the smartest question, but are real lumens still required on a custom network? I would like to use the stellar blockchain for "transaction" ...
JustAnotherDev's user avatar
0 votes
1 answer
139 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
189 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
2 answers
54 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 ...
Mohinish Teja's user avatar
2 votes
1 answer
137 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. ...
Rannie Ollit's user avatar
0 votes
1 answer
69 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 ...
김지환'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
2 votes
1 answer
218 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
0 votes
1 answer
86 views

xdrlib.Error: value=-915689825 not in enum ClaimableBalanceIDType, when I try to claim the created balance

so I'm trying to implement claimable_balances example using the python-sdk, I'm able to use append_create_claimable_balance_op and create a claimable balance from the sponsor's account. but I don't ...
tenshi's user avatar
  • 111
1 vote
1 answer
112 views

Is digital bank with Stellar possible?

Consider a digital bank with multi-currency deposits of crypto tokens (mirroring fiat), token exchange, transactions and digital wallets. The bank should charge configurable transaction fees with the ...
Poliakoff's user avatar
  • 105
0 votes
1 answer
63 views

How to allow the trustor(account) to trust the asset I created

I want to make a account (public key) to trust a asset I issue myself. When I run an allowTrust operation, snippet below, I get op_no_trustline error : const issuingAccount = await ...
Alvin's user avatar
  • 103
0 votes
1 answer
86 views

Error when django-polaris installation

When I try to install django-polaris using the command pip install django-polaris it thrown an error Could not find a version that satisfies the requirement django-polaris (from versions: ) No ...
Amal C Saji'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
2 answers
81 views

How to prevent programmatic Stellar account creation

I've created an app that includes a Stellar account creation as part of he sign up process. Someone is problematically creating accounts, which keeps draining my distribution account that I use to ...
Christopher Mills's user avatar
0 votes
1 answer
33 views

Wonder why "Custom Asset" [Paymeny] flow, doesn't affect the "Balance" of the "Paying Account" (Sender)?

Hopefuly things are going fine with ya'll. I've created a [Custom Asset] asset_code="FAZ"(Alphanum_4) by set of Accounts (Source,Issuer,Distributor,Consumer) on Stellar Test-Net. Set [...
IPEN's user avatar
  • 1
0 votes
1 answer
49 views

Do I need to create and back my own USD token, or are there more distributed approaches to bring USD into my Stellar based app?

I'm transitioning my purely XLM based app to having USD as a deposit, exchange or withdrawal option. Once the USD is deposited, I'll issue a USD token to track that value. How should the exchange on ...
Christopher Mills's user avatar
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
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