The Map3 Supercharge SDK connects
crypto apps to Wallets, Exchanges & Bridges, enabling
cross-chain deposits and increasing volumes.
crypto apps to Wallets, Exchanges & Bridges, enabling
cross-chain deposits and increasing volumes.
// 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>
Visit https://console.map3.xyz/ to generate your ANON_KEY
.