Skip to content

Commit

Permalink
Update develop/toolkit/api-libraries/smart-contracts/ethers-js.md
Browse files Browse the repository at this point in the history
Co-authored-by: 0xLucca <[email protected]>
  • Loading branch information
nhussein11 and 0xLucca authored Jan 9, 2025
1 parent 68002aa commit a019226
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion develop/toolkit/api-libraries/smart-contracts/ethers-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ To compile this contract, use the following script:
--8<-- 'code/develop/smart-contracts/evm-toolkit/ethers-js/compile.js'
```

Note that the script above is tailored to the `Storage.sol` contract. It can be adjusted for other contracts by changing the file name or modifying the ABI and bytecode paths accordingly.
!!!note
The script above is tailored to the `Storage.sol` contract. It can be adjusted for other contracts by changing the file name or modifying the ABI and bytecode paths accordingly.

After executing the script, the Solidity contract will be compiled into the required `polkavm` bytecode format. The ABI and bytecode will be saved into files with `.json` and `.polkavm` extensions, respectively. You can now proceed with deploying the contract to the Asset Hub network, as outlined in the next section.

Expand Down

0 comments on commit a019226

Please sign in to comment.