NEWTON

NEWTON


Popular tags

    Did you change the factory/create2 part (to compute pool addresses)?

    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?


    From Newton AI:

    "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.

      warp

    victorforissier.eth

    asked

    6 days ago


    1 answers

    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

    Your answer

    NEWTON

    NEWTON