account_balance_wallet Connect Your Wallet

Paste your Wallet Address (starts with 0x)
🦊 How to copy Wallet Address from MetaMask
  1. Open the MetaMask app on your phone
  2. Tap the wallet address at the top (starts with 0x...)
  3. The address will be copied automatically
  4. Come back here and paste it in the field above
open_in_new Open MetaMask App

code Widget for Websites

Add a "Register on Blockchain" button to your website's admin panel in just 2 lines of code — site owners can register their own works directly from the management page.

rocket_launch Quick Start

Just 2 steps to get started (add only to admin pages behind login):

1

Add the script before </body>

HTML <script src="https://cdn.varoriya.com/varo-registry.js"></script>
2

Add attributes to your images

HTML <img src="artwork.jpg" data-varo-register data-partner="yourcode">

That's it! When browsing images in your admin page, hover to see the 🔏 Register button. Click to go to the blockchain registration page.

play_circle Live Demo

Hover over the images below — the 🔏 Register button will appear for real (click to open in a new tab).

Image Buttons — 3 Themes

Link Mode

link Simple Link Mode

If you don't need a hover button, add a simple link in your admin page:

HTML <a href="#" data-varo-link data-partner="yourcode"> Register on Blockchain </a>

The script automatically sets the correct href URL with your partner code attached.

tune All Attributes

Attribute Values Description
data-varo-register Required — marks element for hover button
data-partner alphanumeric, _ - Your partner code (max 50 chars) — tracks referral source
data-ref alphanumeric, _ - . Reference ID (max 100 chars) — e.g. image ID or product name
data-label Any text Custom button text (default: "🔏 Register")
data-theme light dark brand Button color theme — white / dark / Varo purple
data-position top-right top-left bottom-right bottom-left Button position on image (default: top-right)
data-size small medium large Button size (default: medium)
data-always Always show button — no hover required

web Full Example

Example admin page of an art gallery with a registration button on every image (only visible to site owner):

HTML <!DOCTYPE html> <html> <body> <h1>My Art Gallery — Admin</h1> <!-- Add data-varo-register to images (admin page, behind login) --> <img src="painting1.jpg" data-varo-register data-partner="artgallery" data-ref="painting-001"> <img src="painting2.jpg" data-varo-register data-partner="artgallery" data-ref="painting-002" data-theme="dark" data-position="bottom-left"> <!-- Simple link --> <p> <a href="#" data-varo-link data-partner="artgallery"> Register on Blockchain </a> </p> <!-- Load varo-registry.js (once, before </body>) --> <script src="https://cdn.varoriya.com/varo-registry.js"></script> </body> </html>

palette Customization Examples

Dark theme + bottom-left + large

HTML <img src="photo.jpg" data-varo-register data-partner="mysite" data-theme="dark" data-position="bottom-left" data-size="large">

Varo brand theme + always visible + custom label

HTML <img src="design.jpg" data-varo-register data-partner="designstudio" data-theme="brand" data-label="Certify" data-always>

Small size + bottom-right (for thumbnails)

HTML <img src="thumb.jpg" data-varo-register data-partner="mysite" data-size="small" data-position="bottom-right">

terminal JavaScript API

For developers who need more control, use the JavaScript API:

VaroRegistry.scan()

Re-scan the DOM for new data-varo-register / data-varo-link elements — use after dynamically adding elements (AJAX, SPA).

JS // Dynamically add a new image var img = document.createElement('img'); img.src = 'new-artwork.jpg'; img.setAttribute('data-varo-register', ''); img.setAttribute('data-partner', 'mysite'); document.getElementById('gallery').appendChild(img); // Re-scan (normally auto-scans, but call manually if needed) VaroRegistry.scan();

VaroRegistry.url(partner, ref)

Generate a registration URL without DOM elements:

JS var url = VaroRegistry.url('artgallery', 'item-5'); // → "https://registry.varoriya.com/service/certify/?partner=artgallery&ref=item-5" // Use with a link window.open(url, '_blank');

info varo-registry.js auto-scans via MutationObserver when new elements are added to the DOM. In most cases, you don't need to call scan() manually.

handshake What is a Partner Code?

A Partner Code identifies your website. When users come from your site and register on the Blockchain, the system records which partner referred them.

badge Partner Code Rules

  • Allowed: letters (a-z, A-Z), numbers (0-9), underscore (_), hyphen (-)
  • Maximum length: 50 characters
  • Examples: artgallery, my-studio, web_shop_01

tag Reference ID Rules

  • Allowed: letters, numbers, underscore (_), hyphen (-), dot (.)
  • Maximum length: 100 characters
  • Examples: painting-001, product.v2, IMG_4502

account_tree How It Works

looks_one Embed Widget in Admin Page

You add varo-registry.js to your admin/management page (behind login) with your data-partner code — the button is visible only to the site owner, not public visitors.

looks_two Site Owner Sees the Button

In the admin page, hovering over artwork images reveals the "🔏 Register" button.

looks_3 Opens Registration Page

Click → opens Registry in a new tab with your partner code attached.

looks_4 Stored on Blockchain

Site owner registers their work → hash + metadata is permanently stored on Polygon Blockchain, with your partner code recorded.

security Important: Only embed varo-registry.js on pages that require login (e.g. admin panel, dashboard). Do not place it on public-facing pages — this button is for content owners to register their own works.

Ready to Get Started?

Register your work on the Blockchain today.

Register Now

View Source on GitHub