-
Couldn't load subscription status.
- Fork 165
Docs Style Guide
Jason edited this page Mar 16, 2022
·
21 revisions
The following is the preferred usage of common terms:
-
Minais the network.MINAis the token. - Use
zk-SNARK&zk-SNARKs. Not zk-snarks, etc. - Use
Mainnet,Devnet,Testnet. Not "Main Net", "DevNet", etc. - Use
public keyorprivate key. Not "secret key". - Use
key pairorpublic/private key pair. Not "keypair", "key-pair", etc. - Use
proof of stake. Not "proof-of-stake", "Proof of Stake", etc. Unless it precedes another word then use, then use hyphens, e.g.proof-of-stake consensus. - Use
zkApp(singular) orzkApps(plural). Casing for this may vary based on the context where it is used. If unsure, please ask. - Use
zkApp CLIorMina zkApp CLI. Not "zkApp Cli", "Zkapp CLI", etc. - Use
SnarkyJS. Not "snarkyJS", etc. - Use
smart contractto refer to the code written with SnarkyJS. UsezkAppto refer to the UI + the smart contract. - Use
prover function, not "prover". The latter refers to the entity who executes that function. - Use
verifier function, not "verifier". The latter refers to the entity who executes that function; unless you're referring to the Mina protocol, then say "Mina" not "verifier". - Use
Merkle tree, not "merkle tree" or "Merkle Tree". - Use
Merkle mountain range, not "merkle mountain range" or "Merkle Mountain Range". - Use
Berkeley Testnet, not "Berkeley testnet", etc. - Within the docs, use
sectionto refer to a top-level section such "About Mina". - Within the docs, use
pageto refer to individual pages within a top-level section.
- Use Title Case--e.g.
Protocol Architecture, etc. - But use sentence casing for phrases--e.g.
How to use a zkApp,Install a wallet, etc.
- Keypair (sic) - we need to add space within
key pair& update across old docs. - Zero-knowledge-based or Zero-knowledge based - when to use?
Syntax to use. The headline can be updated. The icon cannot be changed.
-
Danger is for security warnings. For example, where failure to take x action could result in a security vulnerability (loss of funds, XSS attack, etc). E.g. "Always validate user-provided data to prevent XSS attacks".
-
Caution is unused.
-
Info is for limitations & "must know" information.
-
Tip is unused.
-
Note is used for general & "nice to know" information.
Graphics were created using an iPad, stylus, & Procreate.




