NEWTON
Asked
2 months ago
4
views
0
OpenZeppelin is a collection of reusable, secure smart contract libraries for Ethereum. It provides a set of Solidity contracts that implement common contract patterns and functions, such as ERC20 token contracts and contracts for managing and securing user accounts. By using OpenZeppelin libraries in your contracts, you can benefit from the security and functionality provided by these pre-written contracts, without having to reimplement them yourself. When transpiling your contracts, the transpiler will include the code from any imported libraries, such as OpenZeppelin, in the final transpiled output.
0
Accepted answer
Yes! Warp will try to find the path to node_modules and pass the correct flags to the solc compiler. If your openzeppelin or other library contracts are located somewhere else you can the base-path and include-path flags to make sure your imports work.
victorforissier.eth
answered
2 months ago
I'm currently trying to transpile an ERC 721 contract I have that uses openzeppelin libraries, is that possible?
What libraries are secure to use in Cairo?
What if my solidity contract contains Assembly or special EVM calls ?
Has anyone implemented a minimal proxy in Cairo lang?
Did you change the factory/create2 part (to compute pool addresses)? What's easier, adapt the create2 trick in Solidity then transpile or transpile first then adapt in Cairo?
How to submit a StarkNet contract?
What is the proxy pattern and how it can help make my smart contracts upgradable in Cairo Language?
Does anyone know how to print a uint256 in protostar tests?
Is there a threshold of optimum transaction speed/cost in L2s?
Is there an example of migration scripts somewhere [Cairo/StarkNet]?
How do I move my Pathfinder node to another server / disk?
ApeWorX: How do I fund newly created accounts from the ape console?
Status “received” while deploying starknet transaction. Is it ok?
Is there a Cairo Lang implementation to compute power of a floating point?