Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

2
votes
3answers
208 views

How to let users decide between transactions

I am building an API that will send out signed transactions to users and allow them to submit the transactions themselves. I am attempting to send a user three different transactions however I would ...
1
vote
2answers
21 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....
2
votes
1answer
24 views

How to use the Stellar SDK API Reference?

I am trying to understand how the API reference is meant to be used. For example I want to see how to set up a trust line for an account using the changeTrust() operation. I went to the API ...
1
vote
2answers
39 views

create a stellar application without installing stellar core in local system

I want to create a stellar application which will have these functionality Account creation XLM Balance checking Doing Transaction XLM Receive notification I have read stellar documenation https://...
2
votes
1answer
25 views

Is it possible to make a request to an account other than “Friendbot” to receive Lumens?

From the documentation you can make a request using Javascript to the "Friendbot" to receive test Lumens for an account: // The SDK does not have tools for creating test accounts, so you'll have to //...
0
votes
0answers
16 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
3answers
61 views

Muliti Signature with hash(x) in goLang SDK

I have a stellar account say "ACCOUNT1" with the following attributes: MasterWeight = 2 Threshold [ 1, 2, 3] Signers: Masterkey with weight 2 ed25519_public_key with weight 1 (say ACCOUNT2) ...
4
votes
2answers
35 views

Testnet vs Livenet addresses

Whats the difference between testnet and livenet addresses ? Similar to bitcoin does stellar has different address scheme for testnet ?
1
vote
2answers
41 views

Check wallet balance via API

How could I check Stellar wallet balance using API? For example with BTC one can check address in block explorer and see the balance. I also need to differentiate incoming transactions by MEMO. I ...
1
vote
1answer
29 views

How do I locally manage sequence no of an account?

I am trying to successfully send a transaction but its failing whats the purpose of these two functions 1 - StellarSdk.Operation.createAccount 2 - StellarSdk.Operation.payment if I am using an ...
1
vote
2answers
40 views

Is it possible to retrieve last N transactions or all transactions since a given timestamp?

The dapp I'm building can not rely on the paging mechanism described here, since after a short amount of time I will have a lot of transactions for a given account. Retrieving them all to only select ...
0
votes
2answers
31 views

How do I generate an xPub using stellar SDK?

How do I generate an xPub using stellar SDK ? could anyone show me the format of a stellar extended public key ?
0
votes
2answers
63 views

How to check Trustline Authorized Flag?

I need to check if an account trustline is authorized or not (before payment) Eg: this account https://horizon-testnet.stellar.org/accounts/GDT43XDX4VP7JPJUXRZO7JJH4PHJRCXYFPJA5PJPQC4MLLTF6PEEY5JU ...
0
votes
1answer
75 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 ...
-2
votes
1answer
63 views

TX_BAD_AUTH, no idea why

i'm moving from testnet to pubnet but for some reason my code didn't work with pubnet. here some snippet. Of course sourceAccount,des.publicKey and sourceKeys contain what i'm expeting. sourceAccount ...
1
vote
1answer
52 views

How to setup time bounds for an escrow account?

I am trying to create 2-Party Multisignature Escrow Account with Time Lock & Recovery as in this ref:https://www.stellar.org/developers/guides/walkthroughs/stellar-smart-contracts.html Now, I ...
1
vote
1answer
96 views

TX_BAD_AUTH_EXTRA at submiting a transaction

I'm getting an error at trying to issue an asset following this schema: (issuer) An issuer account (Nano ledger) that will create and send the asset to a secondary account. (bhMain) Secondary account ...
0
votes
1answer
93 views

How to obtain our token's current price

We issued a token on Stellar using stellar API. We need to show the price of our token on our website. How we can do that? Is this available using Stellar API?
2
votes
1answer
71 views

Monitor transactions of non-native asset

is there a convenient way to monitor all transactions/payments/operations of a custom asset? It seems like the REST API only allows this for either one account or the whole network, but not for a ...
4
votes
1answer
78 views

How to build and sign transactions without SDKs?

Following on the keypair generation thread, I am working on SDKs for different languages and I would like to build, sign and submit transactions so my question is what are the steps to do so? Let's ...
4
votes
1answer
90 views

Is there a speed difference between the SDKs?

The JavaScript Stellar SDK facilitates integration with the Stellar Horizon API server and submission of Stellar transactions, either on Node.js or in the browser. It has two main uses: querying ...