Multichain RPC / vrf Fetch
Command line tool for automatically fetching JSON RPC URLs and Chainlink VRF constructor args for specified networks!
Screenshots



Problem Statement
I find it extremely annoying to comb through the internet to find .env and config arguments for multichain development and testing. I want to just write a couple words in the command line and have my .env and helperhardhatconfig.js auto-created for me with the relevant parameters.
Solution
I used yargs to build a simple CLI, used Cheerio to parse RPC URLs from the pokt website. I couldn't quite figure out how to serialize the Chainlink VRF and pricefeeds from html to json (to then write into a config file) so I hardcoded the VRF configs. It was my first time working with Cheerio and Yargs so learning that was a cool process.I hope that this accelerates multichain development on pokt!
Hackathon
ETHBogotá
2024
Prizes
- 🏆
🥈 Pocket Network — Best Use
- 🏆
🏊♂️ Pocket Network — Pool Prize
Contributors
- taetaehoho
18 contributions