Skip to content

map3xyz/supercharge

Repository files navigation

Supercharge Header Image

💸 Supercharge

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

Website · GitHub · Contact

Getting Started

// index.html
<html lang="en">
    <head>
        ...
        <script src="https://api.map3.xyz/console/relay/gh/supercharge/master/dist/global/index.js"></script>
        <link
          href="https://api.map3.xyz/console/relay/gh/supercharge/master/dist/index.css"
          rel="stylesheet"
        ></link>
    </head>

    <body>
        <button onClick="openSdk()">Open SDK </button>
    </body>
    <script>
    function openSdk() {
        const supercharge = initMap3Supercharge({
          anonKey: '<ANON_KEY>',
          userId: '<USER_ID>',
          options: {
            callbacks: {
              onAddressRequested: async (coin, network) => {
                await new Promise((resolve) => setTimeout(resolve, 1000));

                return {address: '0x0000000000000000000000000000000000000000'};
              }
            },
            style: {
                theme: 'dark'
            }
          },
        })
        supercharge.open()
    }
  </script>
</html>

Examples

Edit map3-supercharge-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