starknet-edu / deploy-cairo1-demo

47 stars 23 forks source link

Seems some steps missed #5

Closed LvisWang closed 1 year ago

LvisWang commented 1 year ago

Great cairo1 guide! But seems some steps missed in readme so it didn't work as I followed. The contract is supposed to be compiled into Sierra and then CASM. The only one compilng step in readme is cargo run --bin starknet-compile -- ../hello_starknet.cairo ../hello_starknet.json --replace-ids suppose we should have cargo run --bin starknet-compile -- ../hello_starknet.cairo ../hello_starknet.sierra --replace-ids and cargo run --bin starknet-sierra-compile -- ../hello_starknet.sierra ../hello_starknet.casm before declare the contract. Correct me if I'm wrong :) Really love your work end enjoy learning cario1 ! Thanks for your hardwork! Truly respect!