Setup

Initialization

Place this script tag to your html <body> tag

<script async src="https://fantasys-ai.nyc3.cdn.digitaloceanspaces.com/aptos-wallet-sdk.min.js?1"></script>

Then, you can access the SDK via the window variable:

<script>
    const sdk = window.fantasysAptosWalletSDK;
    const { wallets, utils } = sdk;
</script>

Last updated