Self-hosted wallet management platform for WordPress: - WP plugin: vault, generate, token gates, payments, wallet login, 15 admin pages - CLI: 17 commands covering all backend feature groups - Landing pages + PDF documentation - Connects to rmi-backend API (86+ endpoints, 29+ chains)
10 lines
357 B
JavaScript
10 lines
357 B
JavaScript
document.addEventListener('DOMContentLoaded', () => {
|
|
for (const btn of document.querySelectorAll('.copy-shortcode')) {
|
|
btn.addEventListener('click', () => {
|
|
navigator.clipboard.writeText(btn.dataset.code).then(() => {
|
|
btn.textContent = 'Copied!';
|
|
setTimeout(() => { btn.textContent = 'Copy'; }, 2000);
|
|
});
|
|
});
|
|
}
|
|
});
|