Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tonpy: lite-client, func, merkle #325

Open
tvorogme opened this issue Oct 3, 2023 · 3 comments
Open

Tonpy: lite-client, func, merkle #325

tvorogme opened this issue Oct 3, 2023 · 3 comments
Assignees
Labels
Approved This proposal is approved by the committee Developer Tool Related to tools or utilities used by developers

Comments

@tvorogme
Copy link
Contributor

tvorogme commented Oct 3, 2023

Summary

In the previous version of Tonpy we focused on the basic types, TLB and package delivery.

In the new version we want to provide examples of how to use this package to work with TON. First of all we want to focus on tests, deployment and interaction with smart contracts. Secondly, we want to focus on parsing blocks from the network via LiteClient.

In order to simplify the interaction with tonpy we want to provide some working examples which will include emulation, state management, working with TLB smart contracts, etc.

Context

Full plan

Our work plan for this phase:

  1. Support Merkle for Cells (for block parse&update from LS, RLDP in future)
    • MerkleProof
    • MerkleUpdate
  2. Func compiler (for compiling smart contracts)
    • Support of diffrent flags
    • Some simple tests on hash of existing contracts
    • Step-by-step run
    • Linking to func source
  3. Lite client
    • Support of TL methods of lite_client.tl
    • Support of results as tonpy objects (Cells, CellSlice, etc.)
  4. TON Keys support
    • Mnemonic
    • Ed25519
  5. TON Smart-contract address support

Light plan

  1. Func compiler
    • Support of diffrent flags
  • Some simple tests on hash of existing contracts
  • Step-by-step run
  • Linking to func source
  1. Lite-client (but not all requests, only sendMessage / getAccountState)

Estimate suggested reward

Full plan:

  • 6,000 USD in TON equivalent
  • Legendary TON Footstep NFT

Light plan:

  • 4,000 USD in TON equivalent
  • Legendary TON Footstep NFT
@Naltox
Copy link

Naltox commented Oct 17, 2023

Hey, @tvorogme we actually started working on sandbox/blueprint alternative for Python internally in TonTech.
We're gonna use tonpy internally as a low-level library for ton primitives, so maybe you guys should focus on 1 - 4 points of this footstep?

@tvorogme tvorogme changed the title Tonpy: lite-client, func, merkle, state-managment Tonpy: lite-client, func, merkle Oct 17, 2023
@tvorogme
Copy link
Contributor Author

@Naltox sure, why not.

Also, if you don't mind, our team we'd like to participate in testing/discussing of state management part.

I've updated issue according your feedback.

@delovoyhomie delovoyhomie added the Developer Tool Related to tools or utilities used by developers label Oct 18, 2023
@Naltox
Copy link

Naltox commented Oct 20, 2023

Lets go with the full plan!

@delovoyhomie delovoyhomie added the Approved This proposal is approved by the committee label Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved This proposal is approved by the committee Developer Tool Related to tools or utilities used by developers
Projects
None yet
Development

No branches or pull requests

3 participants