Weave Code
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

Ton Wallet Php Laravel Package

amashukov/ton-wallet-php

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Expanding into TON blockchain integrations: Enables seamless wallet interactions for products targeting The Open Network (TON), including DeFi, NFT marketplaces, or payment systems.
  • Build vs. Buy: Avoids reinventing the wheel for TON wallet logic, reducing development time and risk while ensuring compatibility with the @ton/ton JavaScript SDK.
  • Offline-first architecture: Supports air-gapped signing for security-sensitive applications (e.g., enterprise wallets, cold storage solutions).
  • Multi-message transfers: Facilitates batch operations (e.g., splitting payments, multi-recipient airdrops) in a single transaction.
  • Address flexibility: Standardizes address parsing/serialization for user-friendly UQ/EQ formats, improving UX and reducing frontend/backend friction.
  • Pluggable RPC: Future-proofs integrations by decoupling wallet logic from specific node providers (e.g., TonCenter, custom nodes, or test environments).

When to Consider This Package

  • Adopt when:

    • Your product requires TON Wallet v4r2 compatibility (e.g., new projects or migrations from older versions).
    • You need offline transfer signing for security (e.g., high-value transactions, regulatory compliance).
    • Your stack is PHP/Laravel, and you want to avoid JavaScript interop or custom Solidity wrappers.
    • You require batch transfers (1–4 messages per transaction) without bloating your codebase.
    • Your team lacks blockchain expertise but needs reliable, audited address handling (CRC16 validation, workchain support).
  • Look elsewhere if:

    • You’re using TON Wallet v3 or other versions (this package is v4r2-specific).
    • Your primary language is not PHP (e.g., prefer @ton/ton for JavaScript or pytonlib for Python).
    • You need built-in RPC providers (this package is RPC-agnostic; pair with toncenter-client-php separately).
    • Your project requires TON Smart Contract deployment (this is wallet-focused, not general-purpose TON dev tools).
    • You’re targeting TON’s legacy TVM (this is for Fift/Solidity contracts).

How to Pitch It (Stakeholders)

For Executives: "This PHP package lets us integrate with The Open Network (TON) wallets—like MetaMask for Ethereum—without building or maintaining custom blockchain logic. It handles secure wallet addresses, offline transaction signing (critical for security), and batch payments, all while matching the industry-standard @ton/ton JavaScript SDK. By adopting this, we reduce development risk, accelerate time-to-market for TON-based features (e.g., DeFi, NFTs, or payments), and future-proof our stack with pluggable infrastructure. The MIT license and PHPStan-level 9 quality ensure reliability, and the offline signing capability aligns with enterprise-grade security requirements."

For Engineering: *"This is a minimalist, battle-tested TON Wallet v4r2 wrapper for PHP:

  • Offline signing: Sign transactions locally, then broadcast via any RPC (TonCenter, custom node, or testnet).
  • Address parity: Derives addresses identical to @ton/ton, ensuring consistency across frontend/backend.
  • Batch transfers: Send up to 4 messages in one transaction (e.g., for airdrops or split payments).
  • Pluggable RPC: Swap node providers without changing wallet logic (e.g., switch from TonCenter to a private node).
  • Dependencies: Uses ton-cell-php and ton-crypto-php (also by the same author) for a cohesive TON toolkit. Tradeoff: No built-in RPC client (use toncenter-client-php separately), but this keeps the core wallet logic lean and testable. Ideal for security-focused or high-volume TON integrations."*
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.
besmartand-pro/php-quality-config
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity