Crates.io | solana-write-account |
lib.rs | solana-write-account |
version | 0.2.1 |
created_at | 2025-07-29 14:38:14.054393+00 |
updated_at | 2025-07-30 16:50:59.948525+00 |
description | A Solana program and library for overcoming Solana transaction size limit. |
homepage | https://codeberg.org/mina86/solana-write-account |
repository | |
max_upload_size | |
id | 1772406 |
size | 96,669 |
write-account
Solana has a transaction size limit of 1232 bytes. This may be insufficient to more complex smart contracts which need to ingest comparatively large amounts of input data.
Possible way to address this is by introducing a helper contract which can read chunked instruction data and concatenate it inside of an account such that the target smart contract can read the overlarge payload from said account.
This repository introduces a solana-write-account
crate which defines
client
Cargo feature), andlib
Cargo feature).A more detailed description of the approach is available in Solana transaction
size limit article.
Furthermore, the examples
directory contains an example smart contract and RPC
client which take advantage of the chunking approach.