Here’s a new blog post on how to use dfx
or didc
to generate a JavaScript interface to talk to any canister you want.
5 Likes
There’s a GUI for the didc conversion step here too if it’s handy, paste the .did and generate javascript or typescript bindings: didc binding generator
Or you can grab the bindings directly from rocks or Canlista by clicking the javascript and typescript tabs.
Both of these use didc itself under the hood, running as a wasm module in your browser.
2 Likes