NEWTON
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
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
.
Newton
asked
1 month ago
0
Accepted answer
To generate warplib package for cairo you have to run yarn warplib
Newton
answered
1 month ago
How to install Nethermind's Solidity to Cairo transpiler without an error "command not found: warp"?
Is it possible to import local python files into hints?
Does Cairo work in python3.10 venv? I can’t install python 3.9
Are transpiled contracts only interactable with the warp cli?
What is the technical difference of Kakarot compare to Nethermind's Warp?
Python issues
AssertionError with range_check_ptr_ptr
Cairo 0.10.0 Error: Cannot unpack return value error
How to use Kakarot for my Solidity Contracts?
Are transpiled contracts only interactable with the warp cli?
Expect function call to fail in cairo?
ApeWorX: How can I test on multi-chain with both Starknet and Ethereum?
What is the proxy pattern and how it can help make my smart contracts upgradable in Cairo Language?
Cairo Error: Getting Expected expression of type 'felt', got '__main__.getCurrNumber.Return'