I am a beginner to solana . I am creating a extension so I want to get some ideas from this repo . As mentioned in that repo's readme to "replace rpcToken in connection.ts with your own solana rpc url" . I want to know how do I get it?
You can find your active RPC like this (assuming you have Solana-CLI installed)
solana config get | grep RPC
. You can also change it to whatever you need via solana config set --url [URL]
for example to devnet like solana config set --url devnet
aka config set --url https://api.devnet.solana.com