starknet-docs
starknet-docs copied to clipboard
Request for Contribution: Describe Cairo builtins
Description
We need a page that describes what Cairo builtins are, what they do generally, and a list of builtins with a short description of what each one does specifically.
Explain what high-level Cairo code ends up invoking a given builtin? For example:
-
a&b
is a single application of the bitwise builtin. -
a>b
is a rangecheck.
Source material
- The builins page from the CairoZero documentation.
- Gas and transaction fees>Fee calculation>Calculation of computation costs>Table 1. Amount of gas used per Cairo step or per each time a Cairo builtin is applied
- The files in this directory might also be useful: https://github.com/lambdaclass/cairo-vm/blob/352e8a8cb8addc267d8ae59073b6447fd8517c81/vm/src/vm/runners/builtin_runner
Instructions for Contributing
- Leave a comment on this Issue indicating that you want to take ownership of this feature.
- Wait for our confirmation to start on the project.
- Once you have received confirmation, begin working on your contribution in a new branch.
- Create a new AsciiDoc file named
builtins.adoc
incomponents/Starknet/modules/architecture_and_concepts/pages/Smart_Contracts
. - Add the new file to the table of contents by adding an
xref
to it incomponents/Starknet/modules/architecture_and_concepts/nav.adoc
- IMPORTANT: Do not simply copy and paste existing text in the source material above. Follow these basic writing guidelines. Some basic guidelines include: Use the active voice, not the passive voice, talk to your reader directly by using the second-person (you) and imperative. Use the present tense, avoid the future tense.
- Be ready to make changes based on review comments.
Remuneration
Compensation for the approved contributions will be provided via OnlyDust.
Deadline
Maximum of 10 days
Contact
If you have any questions or need further details, please contact @stoobie.
We look forward to your proposals. Thank you for contributing to the Starknet ecosystem!
wow
Hello @stoobie , I want to take ownership of this feature.
Is there an AsciiDoc Template for it? Thank you very much.
Hello, has anyone been assigned to it? I would like to jump on it.
Hey @xiaolou86 I just assigned you. I don't have a template prepared.
Please make sure that you separate out conceptual (about) information, procedural (how-to) information, and reference information.
You can use a table where appropriate to make it easy to scan information at a glance.
If you're unable to take this on right now, please let me know.
Hello, has anyone been assigned to it? I would like to jump on it.
Hi @vibenedict, I apologize for the confusion, I thought that this was already assigned. I'm very excited to know that you're interested in joining, and we'll have other contribution requests. In fact, if you see any that you'd like to take on, let me know.
I ask contributors that want to write new content, especially if we're funding it through OnlyDust, to send me samples of technical writing.
Feel free to reach out to me on Discord (same username as here).
@stoobie got it, and thank you.
I will try to write the framework in the following days, show you to confirm, and then write details.
@stoobie I apologize for no significant progress by now, I will go faster. Hope it's not too late...
Здравствуйте, у кого то есть продвижение?
Здравствуйте, у кого то есть продвижение?
https://github.com/starknet-io/starknet-docs/pull/1243