adapters

Adapters that can be used to connect to the user's wallet

(async() => {
    SOLPay.adapters.CURRENT_ADAPTER // Current wallet adapter
    SOLPay.adapters.PHANTOM // Phantom wallet adapter
    SOLPay.adapters.SOLFLARE // Solflare wallet adapter
    SOLPay.adapters.SLOPE // Slope wallet adapter
    SOLPay.adapters.GLOW // Glow wallet adapter
    SOLPay.adapters.EXODUS // Exodus wallet adapter

    await SOLPay.connectWallet(SOLPay.adapters.CURRENT_WALLET); // {"address": "..."}
    await SOLPay.connectWallet(SOLPay.adapters.PHANTOM); // {"address": "..."}
    await SOLPay.connectWallet(SOLPay.adapters.SOLFLARE); // {"address": "..."}
    await SOLPay.connectWallet(SOLPay.adapters.SLOPE); // {"address": "..."}
    await SOLPay.connectWallet(SOLPay.adapters.GLOW); // {"address": "..."}
    await SOLPay.connectWallet(SOLPay.adapters.EXODUS); // {"address": "..."}
})();

Properties

Last updated