7. Configure Environment
Create .env file
In the masa-bittensor
directory, create an .env
file
vim .env
Add the following to your .env file, replacing the droplet IP address with yours (from the previous step)
ORACLE_BASE_URL="http://<node-ip-address>:8080/api/v1"
Save and exit
:wq
danger
If you are running X/Twitter or Web scrapers in a cloud environment, it is strongly recommended to use a residential proxy. Cloud-based IP addresses are often blocked or rate-limited by these platforms. Ensure you have a reliable residential proxy service configured before deploying your scrapers in a cloud environment. If you cannot server requests from your node, you will not be able to earn subnet rewards.
For more information on configuring scrapers and using residential proxies, refer to:
- Twitter Scraper Configuration
- Web Scraper Configuration
- Residential Proxy Configuration Guide (Coming soon!)