π Monetize your X following with x402 and 1Shot API
β‘ 185 views Β· π Crypto Trading & Stock Market
π‘ Pro Tip β Twitterβs API is paid now, which makes simple data pulls expensive. ScraperNode is a community node that scrapes Twitter profiles and posts without needing API access.
Description
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
- Create a free 1Shot API account, provision a wallet on your target network and fund it will some gas tokens.
- Import into your 1Shot API account the stablecoin you want to get paid in. Use the 1Shot Prompts tab to find x402 compatible tokens.
- Configure the x402 Gateway node in the workflow to use the stablecoin you imported from step 2.
- Configure the refund nodes to point to the
transferfunction of the stablecoin you selected.
X API
- Create a X Developer account and generate an API Key and Secret.
- Use the key and secret to authenticate the X node in the workflow
Telegram
- Create a Telegram Bot and use its API key to authenticate the Telegram nodes in the workflow.
- Get the Chat ID with your bot and put input it into the telegram nodes so that you can receive moderation requests.
π Nodes Used
Telegram, X (Formerly Twitter)
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File