Skip to content

Marazali75/w5

This branch is up to date with tonkeeper/w5:main.

Folders and files

NameName
Last commit message
Last commit date
Nov 21, 2023
Jul 3, 2024
Jul 3, 2024
Oct 13, 2023
Jun 14, 2024
Jul 3, 2024
Jul 3, 2024
Sep 27, 2023
Sep 12, 2023
Jun 21, 2024
Sep 15, 2023
Sep 12, 2023
Sep 12, 2023
Jan 24, 2024
Nov 2, 2023
Aug 22, 2023
Jun 13, 2024
Jul 3, 2024
Oct 11, 2023
Jul 3, 2024
Jul 3, 2024
Jul 3, 2024
Aug 28, 2023
Jul 3, 2024

Repository files navigation

🔥W5: wallet v5 standard

This is an extensible wallet specification aimed at replacing V4 and allowing arbitrary extensions.

W5 has 25% lower fees, supports gasless transactions (via third party relayers) and implements a flexible extension mechanism.

Project structure

  • Specification
  • contracts - source code of all the smart contracts of the project and their dependencies.
  • wrappers - wrapper classes (implementing Contract from ton-core) for the contracts, including any [de]serialization primitives and compilation functions.
  • tests - tests for the contracts.
  • scripts - scripts used by the project, mainly the deployment scripts, additionally contains utilities for gas optimisation.
  • fift - contains standard Fift v0.4.4 library including the assembler and disassembler for gas optimisation utilities.

Additional documentation

  • Gas improvements - a log of improvements, detailed by primary code paths, global gas counters per commit.
  • Contest - a note showing some information about interesting improvements during the optimisation contest.

How to use

Build

npm run build:v5

Test

npm run test

Deployment

  1. Deploy library: npm run deploy-library
  2. Deploy wallet: npm run deploy-wallet

Get wallet compiled code

npm run print-wallet-code

About

Wallet version 5

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.9%
  • JavaScript 1.2%
  • Shell 0.9%