How obscureozy/ton-wallet-testnet works
Project type and purpose
• This is a small CLI-style wallet utility implemented in TypeScript. It provides three standalone scripts to
• Generate or import a wallet
• Query the wallet’s balance
• Send TON coins on the Testnet
• It is not a full-stack web app; it’s a command-line tool that interacts with the TON testnet via an RPC or SDK.
File structure
• Top-level script files:
• get-wallet.ts – create or restore a wallet
• wallet-address.ts – fetch and print the wallet’s public address
• send-tx.ts – send coins to a recipient
• Configuration:
• .env.example – template for environment variables (mnemonic, addresses, amounts)
• Support files:
• package.json – dependencies (e.g., ton-sdk, dotenv) and scripts
• README.md – usage and security notes
README for additional insights
• Confirms use of dotenv to inject sensitive credentials at runtime
• Emphasizes running via ts-node (on Node.js)