Skip to content

Best wallet smart contract for TON Blockchain and other TVM-based blockchains

License

GPL-3.0, LGPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE.GPL
LGPL-3.0
LICENSE.LGPL
Notifications You must be signed in to change notification settings

pyAndr3w/ton-preprocessed-wallet-v2

Repository files navigation

ton-preprocessed-wallet-v2

code boc

B5EE9C7241010101003D000076FF00DDD40120F90001D0D33FD30FD74CED44D0D3FFD70B0F20A4830FA90822C8CBFFCB0FC9ED5444301046BAF2A1F823BEF2A2F910F2A3F800ED552E766412

code hash

45EBBCE9B5D235886CB6BFE1C3AD93B708DE058244892365C9EE0DFE439CB7B5

TL-B schemes

_ {n:#} valid_until:uint64 seq_no:uint16 actions:^(OutList n) { n <= 255 } = MsgInner n;

msg_body$_ {n:#} sign:bits512 ^(MsgInner n) = ExtInMsgBody n;

storage$_ pub_key:bits256 seq_no:uint16 = Storage;

Error codes

  • 33 - incorrect sequence number
  • 34 - overdue
  • 35 - invalid signature

debot usage

We recommend using special debot TVM code to prepare messages for this wallet smart contract, running it locally in TVM. This will help avoid bugs, as building a message for this smart contract may not seem easy.
Read more in debot/README.md.

TypeScript usage

You can also use this wallet contract through TypeScript (or JavaScript) via wrapper from typescript/wrapper/wallet.ts

Audit

License

GNU LESSER GENERAL PUBLIC LICENSE Version 3

About

Best wallet smart contract for TON Blockchain and other TVM-based blockchains

Resources

License

GPL-3.0, LGPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE.GPL
LGPL-3.0
LICENSE.LGPL

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •