Actual version is ton-preprocessed-wallet-v2
TON based wallet smart contract whose input is a preprocessed c5 register.
This approach saves gas, as All processing is done offchain. (onchain only check seqno and signatures)
Also, with this approach, you can update the version of the contract without changing the wallet address (i.e. set_code
is also written to the c5 register)
The message body is assemble using the following TL-B scheme:
msg_body$_ sig:bits512 subwallet_id:uint32 valid_until:uint32 seq_no:uint32 actions:^OutList = MsgBody
OutList is assemble using the standard TL-B scheme for c5 register.