simolus3 / web3dart

Ethereum library, written in Dart.
MIT License
441 stars 270 forks source link

How can i call smart contract functions through web3dart without private key in flutter #233

Closed usama1050 closed 2 years ago

usama1050 commented 2 years ago

i have a smart contract with multiple functions that allow user to pay bills in crypto currencies .i just want to known how can i call smart contract functions through web3dart without private key.I already connect wallet with walletconnect_dart how can i use them instead of private key.

simolus3 commented 2 years ago

You can implement a custom Credentials class delegating the signing operation to walletconnect_dart instead.

usama1050 commented 2 years ago

How? Do you have any example because i didn't get anything in internet.