dusk-network / rusk

The reference Dusk platform implementation and tools
Mozilla Public License 2.0
157 stars 60 forks source link

Custom Network Setting #1283

Open HDauven opened 9 months ago

HDauven commented 9 months ago

Summary

To allow for local node connections and other Dusk networks, we should consider the ability for users to add custom networks like MetaMask provides: image

Possible solution design or implementation

There are security implications to this feature, so we can either opt to just add a local node option OR provide a fully-fledged custom network settings configurator.

Additional context

Will require changes in the dusk-wallet-js library.

laremas commented 9 months ago

It will def be inside the settings. Which will be the requirements from the user? same as metamask ones?

HDauven commented 9 months ago

It will def be inside the settings. Which will be the requirements from the user? same as metamask ones?

I'm not sure yet what makes the most sense. Even within the same default network setting, it might be that people want to change the prover service they target. Should that be a new configuration or just an option?

I think modeling it after MetaMask wouldn't be a bad idea though.