Get started
Prerequisites
Section titled “Prerequisites”- You must have a wallet address or payment pointer assigned to you by your wallet provider.
- Each page you want to monetize must be served over HTTPS.
Step 1 - Get your wallet address
Section titled “Step 1 - Get your wallet address”Get your wallet address from your wallet provider.
https://wallet.example.com/alice
Some wallet providers will issue a payment pointer instead of a wallet address. Payment pointers begin with $
instead of https://
.
$wallet.example.com/alice
If you have a payment pointer, visit paymentpointers.org. Enter it into the Payment Pointer field and take note of the URL that automatically generates. This is your wallet address.
Step 2 - Web monetize your page
Section titled “Step 2 - Web monetize your page”-
Create your Web Monetization link tag using the format below. Add your wallet address as the
href
value.<link rel="monetization" href="your_url">For example:
<link rel="monetization" href="https://wallet.example.com/alice"> -
Add the
<link>
to the<head>
section of your page.Example <html><head><title>My Site</title><link rel="monetization" href="https://wallet.example.com/alice"></head></html>
Congratulations! Your page is now web monetized. Add the <link>
to any page of your site you want to monetize.
For more information, visit the Monetization link element page.