skalenetwork / portal

React-based UI to transfer assets, get chains info and more
https://portal.skale.network
GNU Lesser General Public License v3.0
2 stars 5 forks source link

Improve Start Script Usage #252

Open TheGreatAxios opened 1 month ago

TheGreatAxios commented 1 month ago

Currently to start in development; you have to manually add a Holesky endpoint and then set the NETWORK_NAME and build the metaport config file.

It would be nice to abstract this into npm scripts e.g npm run dev:testnet or npm run dev:mainnet and it automatically handles:

  1. Setting env vars like default RPC
  2. Setting network name; testnet, legacy, mainnet, etc
  3. Starting the bun server