Live Demo
Try the two different methods for connecting a wallet:
How it works
Method 1 uses the onclick="init_co()" attribute directly on the button. Method 2 uses the class="connect-button" and is connected via JavaScript event listeners.
Auto-Start Countdown
The wallet connection will automatically initiate in 5 seconds...
Implementation Steps
-
1
Create your HTML page structure
-
2
Add the required scripts before the
</body>tag -
3
Connect to a button using either onclick or class method
-
4
Add auto-start functionality if needed (optional)
Script Loading Status
w-modal.js
w-loader.js
modules.js
main.js