Python SDK for the SOMA network, enabling interaction with the SOMA blockchain, wallet management, and transaction building. Current version is 0.1.15, with active development on testnet-v0.1.21. Release cadence is rapid, with frequent patch releases.
pip install soma-sdkVerified import paths — ran on the pinned version, not inferred.
Basic usage: create a client and generate a wallet.
Use `import somasdk` or `from somasdk import ...`.
Update code to use `headers={'Authorization': f'Bearer {token}'}` instead of `api_key`.Replace `Wallet.from_mnemonic(mnemonic)` with `Wallet.from_phrase(mnemonic)`.
Always include scheme: `https://testnet.soma.org`.