Django BSV Integration
A Django package for Bitcoin SV (BSV) blockchain integration using the py-bsv SDK.
Features
- BSV wallet management with Django models
- Transaction creation and broadcasting
- 1sat ordinal support
- Image processing for blockchain storage
- UTXO management
- Integration with WhatsOnChain and GorillaPool APIs
Installation
pip install django-bsv-integration
Quick Start
- Add "bsv_integration" to your INSTALLED_APPS:
INSTALLED_APPS = [
...
'bsv_integration',
]
- Run migrations:
python manage.py migrate bsv_integration
- Create a BSV wallet:
from bsv_integration.models import BSVWallet
# Create wallet
wallet = BSVWallet.objects.create(
user=request.user,
name="My BSV Wallet",
# ... other fields
)
# Send transaction
result = await wallet.send_transaction(
recipient_address="1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2",
amount=1000, # satoshis
op_return_message="Hello BSV!"
)
Requirements
- Django 3.2+
- Python 3.8+
- py-bsv SDK
- aiohttp for async operations
License
MIT License
Metadata
Release files for django-bsv-integration 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_bsv_integration-0.1.0.tar.gz | 10.4 kB | Without provenance | Details for django_bsv_integration-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_bsv_integration-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for django_bsv_integration-0.1.0-py3-none-any.whl |
Total release size: 21.5 kB
Release files / django_bsv_integration-0.1.0.tar.gz
| Download URL | django_bsv_integration-0.1.0.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a896871f216ec261e0720e6d6e2ed9e28e635011cb7d937522b956958cc4d60e
|
|
BLAKE2b-256 checksum How to use checksums |
92a79c4c3daa0bd3eeeccdbe4c3cc3931cebba3e8d5f5310fa6c453c879328dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.8
|
Release files / django_bsv_integration-0.1.0-py3-none-any.whl
| Download URL | django_bsv_integration-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f64d4092409042e0cb3e9e4d779035cfc24c72c925424660db1a937b101734c
|
|
BLAKE2b-256 checksum How to use checksums |
c07467c8414207f10510dda43b4b5ef044ea0e7792c2986bdb1c7acca8a2b2ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.8
|
Security for django-bsv-integration 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.