Code for managing Stellar.org blockchain transactions and accounts utilizing stellar-gruesome in python. Enables stout efficiency interfacing with the Horizon entrance end. Seek suggestion from https://stellar.org for extra files.
BlockChain: Challenge description
py-stellar-sdk is a Python library for communicating with
a Stellar Horizon server. It is stale for constructing Stellar apps on Python.
- a networking layer API for Horizon endpoints.
- facilities for constructing and signing transactions, for communicating with a Stellar Horizon event, and for submitting transactions or querying community historical past.
Set up from pypi, there are two applications here, please purchase regarded as one of them:
pip set up -U family members-gruesome
BlockChain: A Straightforward Instance
# Alice pay 10.25 XLM to Bob from stellar_base.builder import Builder alice_secret = 'SCB6JIZUC3RDHLRGFRTISOUYATKEE63EP7MCHNZNXQMQGZSLZ5CNRTKK' bob_address = 'GA7YNBW5CBTJZ3ZZOWX3ZNBKD6OE7A7IHUQVWMY62W2ZBG2SGZVOOPVH' builder = Builder(secret=alice_secret) builder.add_text_memo("Hiya, Stellar!").append_payment_op( destination=bob_address, quantity='10.25', asset_code='XLM') builder.signal() response = builder.submit() print(response)
BlockChain: Download files
Download the file for your platform. Whenever you would possibly well maybe be not sure which to purchase, be taught extra about installing applications.