Skip to content

New Highload Wallet #300

@pyAndr3w

Description

@pyAndr3w

Summary

Highload wallet implementation in the TON blockchain is currently bulky and has security concerns. This issue proposes a leaner and more secure alternative to the current highload wallet design.

Context

Highload wallet is smart contract in the TON blockchain designed to manage a large volume of transactions effectively while ensuring the security of assets. However, the existing implementation has been found to be bulky, leading to higher operational costs and security issues. One of the key problems in the current implementation is the overflow of the hashmap of requests. If an overflow occurs, the smart contract can become completely inoperative, leading to loss of functionality and potentially compromised security. Given these concerns, a new design is needed to ensure the wallet remains efficient and secure even under heavy transaction loads.

Goals

  1. Create a more secure and cost-effective implementation of the highload wallet.
  2. Simplify the existing design to reduce complexity and improve usability.
  3. Fix current security issues, including the hashmap overflow problem.

Deliverables

  1. Smart Contract: Develop a new smart contract for the highload wallet, optimizing for performance, security, and resistance to hashmap overflow.
  2. TL-B Schema: Create and document a TL-B schema for the request/response interactions with the smart contract.
  3. Contract Tests: Write comprehensive tests to validate the smart contract's functionality, robustness against common vulnerabilities, and protection against hashmap overflow.
  4. Usage Example in TypeScript: Provide a working example of how to interact with the smart contract using TypeScript, serving as a reference for developers looking to integrate or interact with the redesigned highload wallet.

Definition of Done

  • Smart Contract on fift-asm
  • Smart Contract on FunC (extra-version)
  • Full specification
  • Detailed documentation with edge cases
  • Usage example in typescript (ton-core) and c# (tonsdk.net)
  • Blueprint tests and wrappers for the contract
  • The code review by @akifoq

Reward

  • Standard TON Footstep NFT
  • 1500 USD in TON equivalent
  • 750 USD in TON equivalent (The code review by @akifoq)

Oriental Release Date

One month after approving

Metadata

Metadata

Labels

ApprovedThis proposal is approved by the committeeDeveloper ToolRelated to tools or utilities used by developers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions