borsh-construct
Python implementation of Borsh binary serialization for blockchain data.
Crypto and web3 PyPI MIT
Used in agent projects
35
0.3% of 12,697 public repos built with AI coding agents
Rank in crypto and web3
#54 of 89
by use in those projects
Downloads
28.4K
PyPI, last 7 days, borsh-construct
GitHub stars
32
last push Oct 19, 2021
How borsh-construct is used
borsh-construct is a dependency in 35 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.3%), #54 of 89 in crypto and web3. The most used alternative there is Solana Web3.js. Projects that use it most often also use solana-py (100.0%), solders (100.0%), websockets (85.7%).
Often used with borsh-construct
| solana-py | 100.0% of borsh-construct projects · 37.1× more than average |
|---|---|
| solders | 100.0% of borsh-construct projects · 30.0× more than average |
| websockets | 85.7% of borsh-construct projects · 38.1× more than average |
| base58 | 71.4% of borsh-construct projects · 37.5× more than average |
| Construct | 71.4% of borsh-construct projects · 78.2× more than average |
| Requests | 62.9% of borsh-construct projects · 11.8× more than average |
| AnyIO | 57.1% of borsh-construct projects · 39.0× more than average |
| attrs | 57.1% of borsh-construct projects · 56.7× more than average |
Install
| Package | pip install borsh-construct |
|---|---|
| Main stacks | Python (35) |
| Example projects | solana-developers/solana-cookbook, henrytirla/Solana-Trading-Bot, pumpfun-sol/Solana-Pumpfun-Trading-Bot, everlastingsong/whirlpool-essentials, MsLolita/Grass-Claimer |
Alternatives to borsh-construct
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Solana Web3.js npm Official JavaScript SDK for interacting with the Solana blockchain. |
2,099 (16.5%) | 2.6M | 2,767 | MIT |
| viem npm TypeScript interface for Ethereum with type-safe interactions. |
1,566 (12.3%) | 6.5M | 3,577 | MIT |
| Solana SPL Token npm JavaScript API for interacting with Solana's SPL Token program. |
924 (7.3%) | 1.2M | 223 | Apache-2.0 |
| wagmi npm React hooks library for Ethereum interactions and wallet connections. |
650 (5.1%) | 1M | 6,759 | MIT |
| ethers.js npm Complete Ethereum library for building dapps, wallets and blockchain tools. |
574 (4.5%) | 3.6M | 8,710 | MIT |
| Solana Wallet Adapter npm React hooks and UI for connecting Solana wallets to dapps with state management. |
547 (4.3%) | 1M | 2,030 | Apache-2.0 |
| Anchor npm Framework for developing Solana smart contracts with TypeScript and Rust. |
438 (3.4%) | 851K | 5,142 | (MIT OR Apache-2.0) |
| solders pypi Python bindings for Solana Rust tools enabling efficient blockchain interaction. |
423 (3.3%) | 388K | 449 | — |