You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-2Lines changed: 18 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,11 @@ The library strictly adheres to the following standards:
34
34
***[Ed25519](https://ed25519.cr.yp.to/)**: High-speed Edwards-curve Digital Signature Algorithm.
35
35
***[Base58](https://learn.bybit.com/blockchain/what-is-base58/)**: Standard Solana address encoding.
36
36
37
+
### TON (The Open Network)
38
+
***[V4R2](https://ton.org/docs)**: Standard high-performance wallet contract (Wallet ID `0x29a9a317`).
39
+
***[V5R1](https://docs.ton.org/v3/guidelines/smart-contracts/wallet-v5)**: Latest W5 standard (Wallet ID `0x7fffff11`), optimized for gasless operations.
40
+
***Smart Addresses**: Generates non-bounceable (UQ) addresses by default, and automatically switches to bounceable (EQ) if the prefix starts with `E`.
41
+
37
42
## Architecture
38
43
39
44
The project employs a specific **Verify-after-Generate** architecture to eliminate single points of failure in the cryptographic logic.
@@ -42,7 +47,7 @@ The project employs a specific **Verify-after-Generate** architecture to elimina
42
47
Using the `rand::OsRng` system entropy source, a 256-bit private key is generated. The corresponding public key and address are derived via RustCrypto or libsecp256k1. This process is parallelized across all logical CPU cores using a work-stealing scheduler (`rayon`).
43
48
44
49
2.**Cross-Verification (Python)**:
45
-
Upon identifying a candidate address matching the user's constraints, the key material is passed to an isolated subprocess. This process invokes reference Python implementations (`eth_account` for Ethereum, `base58`/`bech32` for Bitcoin) to independently re-derive the address from the private key.
50
+
Upon identifying a candidate address matching the user's constraints, the key material is passed to an isolated subprocess. This process invokes reference Python implementations (`eth_account` for Ethereum, `base58`/`bech32` for Bitcoin, manual derivation for TON) to independently re-derive the address from the private key.
46
51
47
52
3.**Validation**:
48
53
The result is presented to the user **if and only if** the Rust-derived address and the Python-derived address are bitwise identical.
0 commit comments