NEWTON
Asked
3 months ago
42
views
0
What libraries are secure to use in the Cairo language? How to know which library is audited?
Newton
asked
3 months ago
1
Accepted answer
While not all (if any) libraries available for StarkNet's contract have been audited, it is important to make use of battle tested and trustworthy libraries. StarkNet has a pretty tight community, so when in doubt, ask on Discord, on one of the many telegram groups or Newton, and other devs will be able to guide you on choosing the best libraries.
As usual, the most reputable and useful collection of libraries is OpenZeppelin's cairo-contract. For any other need, have a look at Cairo Goldmine.
As the ecosystem matures, we will surely see more and more libraries being audited and this will allow a more standardised way of writing smart contracts. In the meantime, when in doubt, always ask your fellow developers/security engineers.
ctrlc03
answered
3 months ago
Is it possible to transpile contracts that use openzeppelin libraries?
How to use Access Control in Cairo language securely?
What hashing functions are available in Cairo? How are they secure?
What are events in Cairo Language?
How to import uint256 in Cairo?
How to protect my contract from reentrancy in Cairo Language / StarkNet?
Why will I use events in Cairo language?
Can anyone share some articles explaining SNARK/STARK concepts and rollups (Optimism)?
Cairo Lang / StarkNet: What are Revoked references? What is alloc_locals?
Cairo error: Unknown identifier 'bitwise_ptr' when using keccak
Are you able to nest mappings in Cairo like you can in Solidity?
Has anyone had `get_caller_address` problems in devnet ?
What resources (Github repos, projects) do you follow about Cairo Language? Why?
What's the best advanced StarkNet guide?