tonkeeper/w5 — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a TypeScript project for the TON W5 wallet standard. I want it to be a clean smart contract package that can replace the older V4 wallet, keep fees lower, support gasless transactions through third party relayers, and allow future wallet extensions without rewriting everything.

Please include the wallet contracts, simple wrapper code so other TypeScript apps can compile and use the contracts, tests that prove the main wallet flows work, and scripts to build, deploy the shared library, deploy a wallet, and print the compiled wallet code. Add clear README instructions for build, test, deployment, and how someone would integrate the wrapper in another app.

Keep the structure practical and easy to maintain. If you need exact TON contract or tooling details, look up the current docs online and follow the standard conventions.

Want more depth? Deep Reverse