Widget tool
Add a payment widget to your site so visitors can send you a one-time payment. The widget appears to all visitors, even those with an active Web Monetization extension.
Before you begin
Section titled “Before you begin”- Your visitor must have a wallet address with a compatible wallet to send a payment using the widget.
- If your site is monetized with multiple wallet addresses, only the address connected to the widget will receive one-time payments. You can change the address connected to the widget at any time.
Create a new widget
Section titled “Create a new widget”Connect your wallet
Section titled “Connect your wallet”- Enter your wallet address.

- Click Continue. A confirmation prompt appears.

- Click Confirm. You’re directed to your wallet provider to sign in and confirm your ownership of the wallet address.
Change the widget’s contents
Section titled “Change the widget’s contents”- Optionally change the label of a configuration by selecting the pencil icon and typing over the default.

- Expand the Content drop-down menu. Enter a title for the widget or choose from the suggested options.

- Enter the message to show to your visitors or use the default text. We suggest changing the message so that it’s tailored specifically to your audience.

- Review your changes in the preview panel.

- Click Done to collapse the Content section.
Change the widget’s appearance
Section titled “Change the widget’s appearance”- Select the font and font size to use in the widget.

- Select the background, text, and button colors to use.
Click the paint can icon to enter a hex value or use the color picker.
- Select the widget’s corner radius and position.

- Review your changes in the preview panel.

Generate your script
Section titled “Generate your script”- Click Save and generate script.
- Add the script to your site. We recommend placing it just before the closing
</body>tag. If you’re using a site management tool like WordPress, you’ll place the code in a script-type element.Example script <script id="wmt-widget-init-script"type="module"src="https://tools-cdn.webmonetization.org/widget.js"data-wallet-address="https://sandbox.ilp.link/rabeb"data-tag="version1"></script> - Go to your site and check that the widget appears correctly.
You’re now ready to accept one-time payments. Remember that if your site is monetized with multiple wallet addresses that only the address connected to the widget receives one-time payments.
Change an existing widget configuration
Section titled “Change an existing widget configuration”- Enter your wallet address.

- Click Continue. If the confirmation prompt appears, you must first confirm your ownership of the wallet address.
- Make your changes, then click Save edits only. Your script remains the same. There’s no need to update your site’s code.
- Refresh a page on your site that uses the configuration’s script to verify your changes are live.
Connect widget to a new wallet address
Section titled “Connect widget to a new wallet address”- Enter your current wallet address.

- Click Continue to connect to your wallet. A list of your saved configurations appears.
- Select the configuration that you want to connect to a new wallet address.

- Click Add another wallet address.
- Enter the new address in the wallet address field.

- Click Continue. A confirmation prompt appears.

- Click Confirm. You’re directed to your wallet provider to sign in and confirm your ownership of the new wallet address.
- Click Save and generate script.
- Replace the existing script on your site with the newly generated script.
All payments through the widget will now be directed to the new wallet address.
Widget tool