2 months ago
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.
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.
2 months 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 do I connect my DAPP to a private Starknet network using starknetjs?
Is uint256 math operators like uint256_le safe? Why do I need to use uint256_check?
How do I connect my DAPP to Starknet mainnet using starknetjs?
How to setup local Starknet node with Account contracts?
Can anyone explain Pathfinder JSON-RPC InvokeTXNV1?
A switch statement in Cairo lang to set two distinct values
How do I create OZ (Open Zeppelin) contract using starknetjs?