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
Ton Crypto Php

Ton Crypto Php Laravel Package

amashukov/ton-crypto-php

Correct TON mnemonic and Ed25519 keypair derivation in pure PHP. Uses PBKDF2-HMAC-SHA512 with the "TON default seed" salt, not BIP-39, so 24-word phrases produce matching TON wallets. Sign and verify via libsodium, zero composer dependencies.

View on GitHub
Deep Wiki
Context7

amashukov/ton-crypto-php delivers correct TON mnemonic → seed → Ed25519 keypair derivation for The Open Network in pure PHP. BIP-39 libraries derive the wrong key for TON: TON uses PBKDF2-HMAC-SHA512 with salt "TON default seed" and 100 000 iterations, mirroring the reference implementation so any 24-word phrase maps to the same keypair and wallet address across TON tooling.

  • TON-correct mnemonic derivation with HMAC pass and PBKDF2
  • Ed25519 generate, sign and verify via ext-sodium
  • Deterministic phrase normalisation (whitespace collapsed)
  • Optional password on the HMAC step
  • Zero composer dependencies; PHPStan level 9, final readonly value objects
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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core