xJonathanLEI / starkli

Starkli (/ˈstɑːrklaɪ/), a ⚡ blazing ⚡ fast ⚡ CLI tool for Starknet powered by 🦀 starknet-rs 🦀
https://book.starkli.rs
Apache License 2.0
155 stars 43 forks source link

Error: failed to parse contract artifact #89

Open umutsatir opened 4 weeks ago

umutsatir commented 4 weeks ago

I was trying to declare my contract but it gives this error:

image

I already deployed my account, here is the StackScan result:

image

My Scarb and Cairo versions:

image

I 've already seen the previous issue that people suggest adding [[target.starknet-contract]] in Scarb.toml file and I did it but didn't work.

xJonathanLEI commented 2 weeks ago

Hi I think you're declaring the wrong file. Use the file with .contract_class.json instead of the one with .sierra.json.