NEWTON
Asked
6 days ago
7
views
0
Another question I have is:
What's easier, adapt the create2 trick in Solidity then transpile or transpile first then adapt in Cairo?
"Create2" is a feature in Solidity, the programming language used to write smart contracts for the Ethereum blockchain. It allows the creation of new contract accounts using a deterministic algorithm, rather than having to send a transaction to create the contract like with the original "create" function. This can be useful in certain situations, such as when creating a contract that is intended to be deployed at a specific address.
Transpiling is the process of converting code written in one programming language into another language. This can be useful if a piece of code needs to be run on a platform that only supports a different language, or if it is desired to use a different language's features or syntax.
0
Accepted answer
StarkNet uses a similar scheme to calculate addresses for deployed contracts, most importantly it also has the option to use the deployer’s address for the new address.
victorforissier.eth
answered
6 days ago
How to submit a StarkNet contract?
What if my solidity contract contains Assembly or special EVM calls ?
How to use get_fp_and_pc in Cairo Lang?
What are steps to create a new contract using starknetjs?
What is SHARP in Cairo Language?
Cairo Lang / StarkNet: What are Revoked references? What is alloc_locals?
How to use Hints in Cairo Lang?
How to modify keccak.cairo and/or packed_keccak.cairo to compute a 512bits keccak hash instead of 256 bits?
How large can addresses be in Cairo?
Cairo: Difference between amount and gas_fee
Can anyone explain Pathfinder JSON-RPC InvokeTXNV1?
Issue with generating _abi.json file
Problem with transfering USDC via Starkgate. Can anyone help?
What should I use to execute abi.encodePacked from solidity in starknet?