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

Questions tagged [python-sdk]

For questions specifically regarding the Python Software Development Kit (SDK) for Stellar client applications.

1
vote
2answers
47 views

Why do request with the SDK work without starting a local Node?

I followed this guide to create an account and get the balance. I am also running this docker instance. I am confused (and impressed) that I don't have to start a node (e.g. the docker instance) or ...
2
votes
2answers
53 views

Error in transaction creation

I am creating a transaction. When I am submitting the transaction to the blockchain it is giving an error. I will post the code below. Could anyone tell me where I am going wrong? from stellar_base....
2
votes
1answer
46 views

Unable to set optional 'Source Account' on 'Manage Data' operation

On all other operations I can use a different 'Source Account', but if I try to do it on 'Manage Data', I get: 'tx_failed' when sending with Python-sdk no changes applied to XDR if I try it in ...
2
votes
1answer
67 views

Python vs Java(script) for stellar apps. Is it worth learning a new language?

I am starting to get into programming apps for crypto, and I would like to start on the Stellar network. My programming background lies mainly in C and Python, and I am a reasonably competent self ...
3
votes
2answers
246 views

How to decode XDR of the result_xdr

So my code is: envelope = Te(tx=tx, opts={"network_id": "TESTNET"}) envelope.sign(receiving_account) xdr = envelope.xdr() response = horizon.submit(xdr) # TO DO: Have to check if done well print('...
2
votes
1answer
55 views

How do I retrieve the source account, memo, and amount using python?

How can I retrieve: transaction amount memo source Account from envelope_xdr using the python sdk?
2
votes
1answer
42 views

Python Stellar SDK Test Net

I'm confused on how to use the Stellar Testnet for python. I have set up the friendbot to create an account. ('https://friendbot.stellar.org') How do we set up a balance on the testnet using the bot?
4
votes
1answer
46 views

How to extract the public address from the private seed in python?

Given the private seed, how do I get the public address in Python using Stellar's SDK?
1
vote
1answer
39 views

Error while setting up Stellar Python SDK on Amazon EC2

SO I run the command sudo python3.6 -m pip install stellar-base and I am getting the error: e) Requirement already satisfied: idna<2.7,>=2.5 in /usr/local/lib/python3.6/site-packages (from ...
1
vote
1answer
59 views

Python / Django - Accept payements ? Seed storage?

Tried to search over github for a readymade Django Stellar Package, is there any available or do I have to start from scratch using the Python SDK ? How to safely store the seed/mnemonic for a public ...