Closed egeaybars123 closed 3 weeks ago
I fixed the problem. I was following along the Starknet-js documentation, and I found out that I needed to change the version to "Next" in the documentation. Then, I found out that rpc version was v0.6, so I bumped the Starknet-js version to 6.6.6. Then, the problem was fixed, and I could invoke a function in my contract.
Describe the bug I try to use Starknet-js using Javascript on Visual Studio code. I want to set a number in my contract using Invoke, but I keep getting the error:
file:///Users/egeaybars123/Desktop/simple_storage_sdk/node_modules/starknet/dist/index.mjs:2655 throw new LibraryError( ^
To Reproduce You can copy and paste my code to reproduce the problem:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.