You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ah perhaps I can answer my own bug; is this not supposed to work client side?
I see in the tutorial (https://contracts.polkadot.io/getting-started-with-ethers.js): "Using Node.js, Deno, or Bun, you can compile your contract to Polkavm bytecode using the @parity/revive package." which hints that this step isn't browser friendly :)
Hello!
Having a go playing with smart contracts and making a UI, I ran into the titled error. My code:
Running this leads to the titled error:
Commenting out the
compile
line makes the error go away.This could well be something totally unrelated since I'm new to smart contracts, but I wanted to raise it just incase :)
My dependencies (Using SolidJS's default TS template with Vite to play around here):
The text was updated successfully, but these errors were encountered: