Skip to main content

Aptos Provider

FoxWallet uses the same protocol as Petra.

Get Provider

function getProvider() {
const provider = window.foxwallet && window.foxwallet.aptos;
if (!provider) {
window.open('https://foxwallet.com/download');
throw `Please guide users to download from FoxWallet official website`
}
return provider;
}

Supported Connectors

@manahippo/aptos-wallet-adapter

import { FoxWalletAdapter } from '@manahippo/aptos-wallet-adapter';