NEWTON

NEWTON


Popular tags

    Cairo: Getting function selector

    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

      cairocairo-lang

    1 answers

    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

    Your answer

    NEWTON

    NEWTON