Integrate Aptos now
Developers can embed the Aptos Transfer Module into any web application and instantly give applications the ability to transfer assets between Aptos and other blockchains.
The Widget:
Aptos Bridge Widget is an HTML customElement. To use it, import the file like any other javascript file in your HTML, together with the custom styles:
<script
src="https://unpkg.com/@layerzerolabs/aptos-bridge-widget@
latest/element.js"
defer
integrity="sha384-${checksum}"
async
></script>
<link
rel="stylesheet"
href="https://unpkg.com/@layerzerolabs/aptos-bridge-widget@
latest/element.css"
/>
Checksum used in the integrity attribute is published in element.js.sha384 file
Then use it as a regular HTML element:
<aptos-bridge />
More details in the NPM repository.