spruceid / discourse-siwe-auth

Discourse plugin for SIWE authentication
Other
34 stars 13 forks source link

Support custom JSON RPC endpoints in SIWE Discourse Config #13

Closed burningtree closed 2 years ago

burningtree commented 2 years ago

Hello,

is it possible to connect the plugin to a own full node instead of centralized Infura (for WalletConnect)?

Thanks for reply 🙏

q9f commented 2 years ago

The used node is usually configured in your wallet (metamask, etc.), not on the Discourse server.

Also, you do not need any connection to any node for authentication, as far as I understand.

awoie commented 2 years ago

@burningtree The current version only supports the Infura setup of WalletConnect. WalletConnect could also be used with a Custom RPC Provider, would this solve your issue? We would need to provide another config option to the plugin that allows setting up WalletConnect like described here: https://docs.walletconnect.com/quick-start/dapps/web3-provider (custom RPC provider).

awoie commented 2 years ago

@burningtree could you check whether PR #14 works for you?

burningtree commented 2 years ago

@awoie Unfortunately I can't test the change because I can't install the plugin at all due to issue #15 .

Sorry for the late reply.