SolWorks-Dev/soldisperse

`NEXT_PUBLIC_HELIUS_API_KEY` is not valid, it would make sense to reuse RPC endpoint user has inputed at step 0

Closed this issue · 1 comments

The API-KEY read from environmental variables is invalid, user can't change it. To make the app work it would make sense to replace usages of NEXT_PUBLIC_HELIUS_API_KEY with the RPC url user has provided at step 0 (in this case user can arbitrary RPC URL with or without any API-KEY).

`https://api.helius.xyz/v0/addresses/${publicKey!.toBase58()}/balances?api-key=${process.env.NEXT_PUBLIC_HELIUS_API_KEY}`

Fixed in 672a87b, input for API key added as standalone input. Thanks for reporting! 🫶