Skip to content

💸 The Map3 Supercharge SDK connects crypto apps to Wallets, Exchanges & Bridges, enabling cross-chain deposits and increasing volumes.

License

Notifications You must be signed in to change notification settings

map3xyz/supercharge

Repository files navigation

Map3 Payments SDK

Jest coverage

Getting Started

// index.html
<html lang="en">
    <head>
        ...
        <script src="https://map3xyz.github.io/payments-sdk/dist/global/index.js"></script>
        <link rel="stylesheet" href="https://map3xyz.github.io/payments-sdk/dist/index.css"></link>
    </head>

    <body>
        <button onClick="openSdk()">Open SDK</button>
    </body>
    <script>
    function openSdk() {
        const map3 = initMap3Sdk({
          theme: 'dark',
          anonKey: '<ANON_KEY>',
          generateDepositAddress: async (coin, network, memoEnabled) => {
            await new Promise((resolve) => setTimeout(resolve, 1000));

            return {address: '0x0000000000000000000000000000000000000000'};
          }
        })
        map3.open()
    }
  </script>
</html>

Examples

Edit map3-sdk-cdn-demo-l9t2x5

Generating Anon Keys

Visit https://console.map3.xyz/ to generate your ANON_KEY.

About

💸 The Map3 Supercharge SDK connects crypto apps to Wallets, Exchanges & Bridges, enabling cross-chain deposits and increasing volumes.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages