cargo stylus deploy --wasm-file-path target/wasm32-unknown-unknown/release/counter.wasm --private-key=$pvt_key

  • Address: 0xEEA6Da9Ea2eA6D65380608349b7e957805De10B7 (counter)
  • Address: 0xae1F94e92c9b27ec2a34B3B474ebA460CE498E1B (proxy)

How to interact with the contract from cli? How to write tests locally in stylus sdk?