Comment on page
Laika knows about your Dapp development needs and provides you with a Code Snippets generator right in your workspace, which gives you the necessary code to call your Request as a function in your Dapp. We support code generation in:
- 1.Ethers.js (ES6)
- 2.Ethers.js (CommonJS)
- 3.Web3.js (ES6)
- 4.Web3.js (CommonJS)
To make use of the Code Snippets, go over to the right pane of your workspace and click on the Code Tag Icon "</>".
This will expand the pane to show the Code Snippets Generator. You can select the pattern to use for generating the function specific code snippet here.
And that's it! You can copy the snippets directly and use them in your Dapp through your preferred code editor.