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!
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 havecargo run --bin starknet-compile -- ../hello_starknet.cairo ../hello_starknet.sierra --replace-ids
andcargo 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!