BlockchainPype is a Python library for interacting with multiple blockchain networks.
Project description
Blockchain Pypeline
A powerful Python library for interacting with multiple blockchain networks, providing a unified interface for EVM-compatible chains and Solana. This library simplifies blockchain interactions, asset management, and transaction handling with a clean, type-safe API.
Overview
Blockchain Pypeline is designed to streamline blockchain development by providing:
- A unified interface for multiple blockchain networks
- Type-safe interactions with smart contracts and programs
- Simplified wallet and transaction management
- Comprehensive asset handling across different chains
Features
-
Multi-Chain Support
- EVM-compatible chains (Ethereum, Polygon, BSC, etc.)
- Solana blockchain
- Extensible architecture for adding new chains
-
Wallet Management
- Secure key management
- Transaction signing
- Multiple wallet support
-
Asset Operations
- Token transfers and management
- NFT handling
- Dapps interactions (Smart contracts, Programs)
-
Transaction Handling
- Transaction building and signing
- Gas estimation and optimization
- Transaction monitoring
- Block explorer integration
Installation
The package requires Python 3.13 or later. You can install it using Poetry:
poetry add blockchainpype
Or with pip:
pip install blockchainpype
Quick Start
Here's a simple example of how to use blockchainpype:
...
Development
Setup
- Clone the repository:
git clone https://github.com/gianlucapagliara/blockchainpype.git
cd blockchainpype
- Install dependencies with Poetry:
poetry install
- Set up pre-commit hooks:
poetry run pre-commit install
Testing
Run the test suite:
poetry run pytest
Code Quality
The project uses several tools to maintain code quality:
- Black for code formatting
- isort for import sorting
- mypy for static type checking
- ruff for linting
- pre-commit hooks for automated checks
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file blockchainpype-0.1.1.tar.gz.
File metadata
- Download URL: blockchainpype-0.1.1.tar.gz
- Upload date:
- Size: 34.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.13.1 Darwin/24.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0070e1d4a2dc52a9f54f560024f244eb0045a39cf248056e822c5e327b849667
|
|
| MD5 |
d1515431bf119dbe46e0b3d10e5592ad
|
|
| BLAKE2b-256 |
c9b63506a4873ed389565061b1d5ca312584992544b322cd681ef6f12d9c67f7
|
File details
Details for the file blockchainpype-0.1.1-py3-none-any.whl.
File metadata
- Download URL: blockchainpype-0.1.1-py3-none-any.whl
- Upload date:
- Size: 48.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.13.1 Darwin/24.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6a76f2f7a0da2a65d1f87dded0ce65a20d86219c23ab5b1c9587a9176af7ad9
|
|
| MD5 |
c4179b4cf0733c507940b9249817fa8a
|
|
| BLAKE2b-256 |
9681b0e465a88eb6e13d2738bef75a40e32501d01db362c80a447903cc715349
|