Back to Templates

Monetize your X Following with x402 and 1Shot API

Created by

Created by: 1Shot API || oneshotapi

1Shot API

Last update

Last update 3 days ago

Categories

Share


image.png

Get Paid in Stablecoins for Reposting from your X Account

The x402 payment standard is growing in popularity and has enabled new monetization opportunities for internet resources. This workflow lets you automate the monetization of your followers on X by receiving payment in the form of stablecoins in return for reposting content from your X account via the X API node.

Selling impressions can be good business, its whats powered the largest internet companies in the world so far. This workflow gives you a starting point to sell impressions from your social media following you worked hard to build over time.

Setup

1Shot API

  1. Create a free 1Shot API account, provision a wallet on your target network and fund it will some gas tokens.
  2. Import into your 1Shot API account the stablecoin you want to get paid in. Use the 1Shot Prompts tab to find x402 compatible tokens.
  3. Configure the x402 Gateway node in the workflow to use the stablecoin you imported from step 2.
  4. Configure the refund nodes to point to the transfer function of the stablecoin you selected.

X API

  1. Create a X Developer account and generate an API Key and Secret.
  2. Use the key and secret to authenticate the X node in the workflow

Telegram

  1. Create a Telegram Bot and use its API key to authenticate the Telegram nodes in the workflow.
  2. Get the Chat ID with your bot and put input it into the telegram nodes so that you can receive moderation requests.