Skip to main content
4 events
when toggle format what by license comment
Aug 18, 2022 at 20:22 vote accept Gmer
Aug 18, 2022 at 20:18 comment added Tyler Davis It is changeable. The network variable will allow you to change between devnet, testnet and mainnet. If you want to use your own rpc, just adapt the endpoint so it points to your rpc url.
Aug 18, 2022 at 20:10 comment added Gmer Yeah, but what's really the point of useConnection hook if we can just initialize a new connection object ourselves everytime and the endpoint is not changable in the ConnectionProvider? I'm using some other packages and they use useConnection hook, so I can't use my own connection object
Aug 18, 2022 at 19:55 history answered Tyler Davis CC BY-SA 4.0