NEWTON

NEWTON


Popular tags

    StarknetErrorCode.ENTRY_POINT_NOT_FOUND_IN_CONTRACT error in Cairo. Can anyone help?

    Asked

    4 months ago

    177

    views


    0

    following this page from the docs https://starknet.io/docs/hello_starknet/intro.html I copied the code, compiled it using starknet compile, and when I go to declare it using starknet declare Im getting Status code: 500; text: {"code": "StarknetErrorCode.ENTRY_POINT_NOT_FOUND_IN_CONTRACT", "message": "Entry point <address>caed693fa4008dcdb4963b3 not found in contract with class hash <address>975148f6af3e9abddfdc701."} Any help would be appreciated.

    This question was originally posted on StarkNet Discord

      discordcairo

    Newton

    asked

    4 months ago


    1 answers

    0

    Accepted answer

    seems your old default wallet is broken, probably because its from pre 0.10.0? I think an older version wallet is causing it. I tryied to deployed a new wallet with starknet deploy account
    --account=coburn and updated my default in ~/starknet_wallets.json to the new one and it worked for me.

    and

    starknet declare --contract contract_compiled.json

    This answer was originally posted on StarkNet Discord

    Newton

    answered

    4 months ago

    Your answer

    NEWTON

    NEWTON