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

Swagger-like toolset for interaction with contracts and TL-B #881

Open
voloshinskii opened this issue Nov 26, 2024 · 0 comments
Open

Swagger-like toolset for interaction with contracts and TL-B #881

voloshinskii opened this issue Nov 26, 2024 · 0 comments
Labels
Developer Tool Related to tools or utilities used by developers

Comments

@voloshinskii
Copy link

Summary

Summary
My main goal is to solve this problem (and some more problems), to make a specification (let's call it OpenContract) for contract schemas, describing supported internals, authors, get_methods and much more
And, of course, to make a toolset for such tasks: to make a contract documentation with ease, to make a TL-B constructor, TL-B decoder and editor, available on web

Context

Let's take a simple Jetton transfer base64-encoded body.
For example:

te6cckEBAQEAVAAApA+KfqUAAAAAAAAAARAYAexswf8o/L/N2pUe5T42Sd8LKS+gkHVVOzXJCChS+Jw3AD2NmD/lH5f5u1Kj3KfGyTvhZSX0Eg6qp2a5IQUKXxOGwgIkIasC

But how can you extract, for instance, the forward_ton_amount value from payload with ease? No, you will probably start writing code for a such simple task. And that's not cool.

References

References
MVP tool:

voloshinskii.github.io/demo-dapp-with-react-ui?encoded=W3siYWRkcmVzcyI6IkVRREpmU2JzN3N2WHhBNDk3MnlVaXFnSnM5T3V6d0tsX0QzUUdJNkQ1dk5IT0lhViIsImFtb3VudCI6IjUwMDAwMDAwIiwicGF5bG9hZCI6InRlNmNja0VCQWdFQVdnQUJvVi9NUFJSVWJlVHZXOEJ3L0lBZXhzd2Y4by9ML04ycFVlNVQ0MlNkOExLUytna0hWVk96WEpDQ2hTK0p3M0FEMk5tRC9sSDVmNXUxS2ozS2ZHeVR2aFpTWDBFZzZxcDJhNUlRVUtYeE9Hd2dPQUVBQ0FBQUFBRG5rM202In1d

Estimate suggested reward

Milestone
Open-source treasure of contract schemas and own specification (let's call it OpenContract) for this goal, codegen from TL-B, sandbox for making transactions with ease, decode BoC using specification, 6000 USD
Contribute schemas for most popular contracts on TON, 1000 USD
Codegen tool from OpenContract schemas for Go, TypeScript, 2000 USD
Estimate suggested reward
9000$ in TON

@voloshinskii voloshinskii added the Developer Tool Related to tools or utilities used by developers label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Developer Tool Related to tools or utilities used by developers
Projects
None yet
Development

No branches or pull requests

1 participant