Digital World Python SDK¶
digital-world-py-sdk is a Python library for communicating with a Digital World Gateway server and DWSA RPC server. It is used for building Digital World apps on Python. It supports Python 3.10+ as well as PyPy 3.11.
It provides:
a networking layer API for Gateway endpoints.
a networking layer API for DWSA RPC server methods.
facilities for building and signing transactions, for communicating with a Digital World Gateway and DWSA-RPC instance, and for submitting transactions or querying network history.
Quickstart¶
At the absolute basics, you’ll want to read up on Digital World’s Documentation Guides, as it contains a lot of information on the concepts used below (Transactions, Payments, Operations, KeyPairs, etc.).
API Documentation¶
Here you’ll find detailed documentation on specific functions, classes, and methods.
Reference
- XDR
- API Documentation
- Account
- Address
- Asset
- Call Builder
- Call Builder Async
- Client
- Contract
- Exceptions
- Keypair
- LiquidityPoolAsset
- LiquidityPoolId
- Memo
- MuxedAccount
- Network
- Operation
- Price
- GatewayServer
- GatewayServerAsync
- Signer
- SignerKey
- StrKey
- TimeBounds
- DecoratedSignature
- Transaction
- TransactionEnvelope
- FeeBumpTransaction
- FeeBumpTransactionEnvelope
- TransactionBuilder
- DwsaDataBuilder
- DwsaServer
- DwsaServerAsync
- DWSA RPC Definitions
- scval
- Auth
- Helpers
- Digital World Ecosystem Proposals
- digital_world_sdk.xdr
digital-world-model¶
digital-world-model allows you to parse the JSON returned by Digital World Gateway into the Python models, click here for more information.
Links¶
Document: https://digital-world-sdk.readthedocs.io
Examples: https://github.com/DigitalWorld/digital-world-py-sdk/tree/main/examples
Issue tracker: https://github.com/DigitalWorld/digital-world-py-sdk/issues
License: Apache License 2.0