Skip to content

Getting Provider of the wallet to trigger the contract functions #1138

Discussion options

You must be logged in to vote

This could be useful,

Enabling the provider to pop-up QR modal

await provider.enable();

Disconnecting the provider

await provider.disconnect()

Sending JSON RPC requests

const result = await provider.request(payload: RequestArguments);

You can connect to a contract and use its functions using Ethers/Web3.js.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Abubakar672
Comment options

Answer selected by hackyguru
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants