NEWTON
Asked
8 months ago
56
views
0
What libraries are secure to use in the Cairo language? How to know which library is audited?
Newton
asked
8 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
8 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?
Is there any other way to do 2**n without using pow.cairo?
How do I connect my DAPP to Starknet mainnet using starknetjs?
How does warp handles the contract solidity version?
Do you know if I can use a Braavos account as a multisig wallet?
How can I connect a StarkNet account using starknetjs?
Is there any blockchain project contract supporting web2 scripts executable on VIa EVM?
My Alchemy dashboard usage is low?