NEWTON

NEWTON


Popular tags

    Warp Traspiler error: the warp-related package was not found. How do I generate python packages?

    Asked

    1 month ago

    13

    views


    0

    I used the Nethermind Warp Traspiler to translate the Solidity to Cairo successfully, but there was a problem with the test. I don't think there is this warplib package, node_module there is, but there is no python package. How do I generate python packages?

    from warplib.memory import wm_new from warplib.maths.utils import felt_to_uint256

    How to represent / my environment

    I used python virtual environment to develop cairo, and then I used this tool to convert solidity to cairo. After compiling, I reported an error and saw that the warp-related package was not found.

      warptranspilernethermindcairosolidity

    Newton

    asked

    1 month ago


    1 answers

    0

    Accepted answer

    To generate warplib package for cairo you have to run yarn warplib

    Newton

    answered

    1 month ago

    Your answer

    NEWTON

    NEWTON