NEWTON
Asked
6 months ago
2
views
0
How do I get the function selector or the hash from the function name in Cairo?
ㅤ This question was originally posted on Triality
0
from starkware.starknet.compiler.compile import get_selector_from_name
then use
get_selector_from_name('function_name')
ㅤ This answer was originally posted on Triality
answered
6 months ago
Cairo: How do write a log function in Cairo
Cairo Error calling function: Expected 'function_name' to be a struct. Found: 'function'.
Cairo Passing Functions
Cairo: How to return true from a function?
Cairo: How do I initialize an array in cairo
Getting the CLASS_HASH of a contract in Cairo
Cairo: are builtins always needed to be expressed in function signature?
How to make math operation with Field Elements (felts) in Cairo lang?
I am already running a full Ethereum node on my server. Can I set the PATHFINDER_ETHEREUM_API_URL parameter to my node's endpoint for pathfinder?
Cairo Automatic Events
Which oracle service provider is StarkNet using?
How to get the contract ABI using Starknet.Py?
Cairo Error: 'range_check_ptr' cannot be used as an implicit return value. Consider using a 'with' statement.
Implementing the connect wallet. Can you help about connectors?