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

write Smart contract documentation #353

Open
peterjah opened this issue Oct 3, 2024 · 0 comments
Open

write Smart contract documentation #353

peterjah opened this issue Oct 3, 2024 · 0 comments

Comments

@peterjah
Copy link
Contributor

peterjah commented Oct 3, 2024

Copy pasta from user feedback:

I've started the process of learning about MASSA and evaluating strategies for the POC. Some feedback on the MASSA Smart Contract docs:

  • I suggest adding a section titled something like "Migrating from Solidity".. or "Comparison with Solidity" that goes through a non-trivial Solidity example and how to do something similar with MASSA.

The majority of devs with smart contract experience are most likely coming from a Solidity background and may not have used WASM before.

  • A section that outlines how to structure a smart contract and basic features like:

    • What determines visibility of a function? (i.e. public, internal, private in Solidity)
    • How to pass constructor arguments
    • Functions with multiple args and types
    • Sending value (i.e. payable in Solidity)
    • Error handling, throwing errors
    • Inheritance, interfaces
    • Imports
    • etc.

Perhaps this is all in the WASM docs and it's the same, but it would be worthwhile to repeat the basics and describe where things are different.

I was pretty confused after looking at the docs. The Trading Bot video was helpful but it's over an hour of content and and not structured like a tutorial. It's also a year old and I'm sure much has changed since.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant