Get started with arkane-connect CDN
Stable version
Copied!
How to start using arkane-connect CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with arkane-connect CDN - cdnhub.io</title>
<script src="https://cdn.cdnhub.io/arkane-connect/1.27.0/connect.js"></script>
</head>
<body>
<button id="connect-button">Connect Wallet</button>
<script>
const connectButton = document.getElementById('connect-button');
if (window.Arkane) {
window.Arkane.init((wallet) => {
connectButton.innerText = 'Connected';
connectButton.disabled = true;
console.log('Connected wallet:', wallet);
});
} else {
connectButton.addEventListener('click', async () => {
try {
const wallet = await window.Arkane.connect();
connectButton.innerText = 'Connected';
connectButton.disabled = true;
console.log('Connected wallet:', wallet);
} catch (error) {
console.error('Error connecting wallet:', error);
}
});
}
</script>
</body>
</html>
Copied!
Copied!
All versions
1.19.0
1.19.0-develop.2
1.19.0-develop.3
1.19.0-develop.4
1.19.0-develop.5
1.20.0
1.20.0-develop.1
1.20.0-develop.2
1.21.0
1.21.0-develop.1
1.21.0-develop.10
1.21.0-develop.11
1.21.0-develop.12
1.21.0-develop.13
1.21.0-develop.14
1.21.0-develop.15
1.21.0-develop.16
1.21.0-develop.2
1.21.0-develop.3
1.21.0-develop.4
1.21.0-develop.5
1.21.0-develop.6
1.21.0-develop.7
1.21.0-develop.8
1.21.0-develop.9
1.22.0
1.22.0-develop.1
1.22.0-develop.2
1.22.0-develop.3
1.23.0
1.23.0-develop.1
1.23.0-develop.10
1.23.0-develop.11
1.23.0-develop.2
1.23.0-develop.3
1.23.0-develop.4
1.23.0-develop.5
1.23.0-develop.6
1.23.0-develop.7
1.23.0-develop.8
1.23.0-develop.9
1.24.0
1.24.0-develop.1
1.24.0-develop.2
1.24.0-develop.3
1.24.0-develop.4
1.25.0
1.25.0-develop.1
1.25.0-develop.2
1.26.0
1.26.0-develop.1
*** 1.27.0
1.27.0-develop.1
1.27.0-develop.10
1.27.0-develop.11
1.27.0-develop.12
1.27.0-develop.13
1.27.0-develop.14
1.27.0-develop.15
1.27.0-develop.16
1.27.0-develop.17
1.27.0-develop.18
1.27.0-develop.19
1.27.0-develop.20
1.27.0-develop.21
1.27.0-develop.22
1.27.0-develop.23
1.27.0-develop.24
1.27.0-develop.3
1.27.0-develop.4
1.27.0-develop.5
1.27.0-develop.6
1.27.0-develop.7
1.27.0-develop.8
1.27.0-develop.9
1.28.0-develop.0