Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Ethereum Offline Raw Tx Laravel Package

kornrunner/ethereum-offline-raw-tx

Build and sign Ethereum transactions offline in PHP. Set nonce, gas price, gas limit, recipient, value, and data, sign with a local private key, and output raw transaction hex ready to broadcast via any node. Keep private keys off RPC servers for wallets and backend payouts.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy vs. adopt: gives you a credible "adopt OSS" option instead of building a signing microservice in Node/Go or paying a custody provider for a narrow slice of functionality (raw transaction construction and signing).
  • Feature enablement: server-side ETH/ERC-20 payouts, refunds, merchant settlement, treasury transfers, faucet automation, and NFT mint backends from a PHP codebase — without standing up a separate signer service.
  • Architecture / security posture: supports an air-gapped signing pattern. Transaction construction and signing can run in a process with no network egress; broadcasting happens elsewhere via any RPC provider. This is a meaningful control for hot/warm wallet separation.
  • Roadmap scoping: useful as a scoped enabler for "wallet-adjacent" features in PHP monoliths (Laravel apps especially) where the alternative is a cross-language service or a vendor contract.
  • Cost and ops decisions: removes one runtime (Node/Python) and one deployable from the stack; lowers operational surface and on-call burden.

Scope boundaries to note in planning: this package signs raw transactions. It does not provide nonce management, gas estimation, key storage/management, RPC connectivity, retries, or multi-chain support. Those remain product/engineering decisions you own.

When to Consider This Package

Consider it when:

  • PHP (8.x) is your primary stack, and adding a Node/Go/Python signing service is disproportionate to the feature.
  • You need offline / air-gapped raw transaction signing, or you want to separate signing from broadcasting for security or compliance reasons.
  • Transaction volume is modest and your application already owns nonce sequencing, gas pricing, and retry logic.
  • You can vendor or fork the library, wrap it behind an internal Signer interface, and add your own tests and review.
  • You are comfortable with an MIT-licensed package with a small maintainer footprint and can accept the associated diligence work.

Look elsewhere when:

  • You need multi-chain or non-EVM support (BTC, Solana, Cosmos) — this is EVM-only.
  • You need MPC, HSM/KMS-backed signing, approval workflows, or policy engines. That is a custody-provider or cloud-KMS decision, not a library decision.
  • You need account abstraction (ERC-4337), newer transaction types, or features that may lag the spec — verify supported transaction types against your roadmap before committing.
  • Transaction value or volume is high enough that an unaudited, low-adoption dependency is unacceptable; prefer an audited library or a managed signer.
  • Regulatory requirements mandate certified cryptographic modules or vendor attestations.
  • Your team already runs mature JS/Python infrastructure where ethers.js or web3.py are better supported.

How to Pitch It (Stakeholders)

For executives: This is a small, MIT-licensed PHP library that lets our existing PHP application sign Ethereum transactions offline. Adopting it avoids building and operating a separate signing service and avoids paying a custody vendor for a capability we can own. The trade-off is maturity: ~61 GitHub stars, no known dependents, and a small maintainer base. Recommendation: treat it as a building block, not a platform — run a time-boxed spike, wrap it behind our own signing interface, and keep the option to swap to a KMS or custody provider later without touching product code.

For engineering: Pure PHP, Composer-installable, produces signed raw transactions deterministically. It composes cleanly with any RPC provider for broadcast, and fits an air-gapped signing model. We own nonce management, gas strategy, key storage, and monitoring. Pin the version, vendor the source, and add integration tests against a testnet before production.

For security/compliance: The library is not a custody solution and should not be treated as one. Its value is that it enables a deployment where private keys are never present in a networked signing process. Mitigations before production: source review, vendored dependency, per-transaction value limits, key isolation, and an internal interface that allows replacement with an HSM/KMS-backed signer if requirements tighten.

Bottom line: Low-cost, narrowly scoped enabler with real architectural upside for PHP shops; the risk is maintenance and audit maturity, which is manageable through isolation, vendoring, and a clear swap path.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource