1- # 🔥 W5: wallet v5 standard
1+ # W5: wallet smart contract v5
22
3- This is an extensible wallet specification aimed at replacing V4 and allowing arbitrary extensions .
3+ New version of wallet smart contract, the previous one was [ v4r2 ] ( https://github.com/ton-blockchain/wallet-contract ) .
44
5- W5 has ** 25% lower fees** , supports ** gasless transactions** (via third party relayers) and implements a ** flexible extension mechanism** .
5+ The entire concept is proposed by the [ Tonkeeper team] ( https://tonkeeper.com/ ) .
6+
7+ New Features:
8+
9+ - Send up to 255 messages at once;
10+
11+ - Signed actions can be sent not only by external message, but also by internal messages (can be used for gasless transactions);
12+
13+ - Unlimited extensions;
14+
15+ - Extension can prohibit signed actions in the wallet (can be used for 2fa or key recovery);
16+
17+ - Optimizations to reduce network fees;
18+
19+ - Better foolproofing safety - reply-protection for external messages, wallet id rethinking;
620
721## Project structure
822
@@ -13,25 +27,17 @@ W5 has **25% lower fees**, supports **gasless transactions** (via third party re
1327- ` scripts ` - scripts used by the project, mainly the deployment scripts, additionally contains utilities for gas optimisation.
1428- ` fift ` - contains standard Fift v0.4.4 library including the assembler and disassembler for gas optimisation utilities.
1529
16- ### Additional documentation
17-
18- - [ Gas improvements] ( Improvements.rst ) - a log of improvements, detailed by primary code paths, global gas counters per commit.
19- - [ Contest] ( Contest.md ) - a note showing some information about interesting improvements during the optimisation contest.
20-
2130## How to use
2231
2332### Build
2433
25- ` npm run build:v5 `
34+ ` npm run build `
2635
2736### Test
2837
2938` npm run test `
3039
3140### Deployment
32- 1 . Deploy library: ` npm run deploy-library `
33- 2 . Deploy wallet: ` npm run deploy-wallet `
3441
35- ### Get wallet compiled code
42+ Deploy wallet: ` npm run deploy-wallet `
3643
37- ` npm run print-wallet-code `
0 commit comments