This repository has been archived by the owner on Jun 14, 2024. It is now read-only.
Call recoverTransaction
and check if the user is registered
#72
Labels
We need an optional feature (can be enabled but it is disabled by default) of preventing unregistered users to submit transactions - we need
registeredUsers
, an array of ethereum addresses of registered users that are allowed to transact.We can use
https://web3js.readthedocs.io/en/1.0/web3-eth-accounts.html#recovertransaction
to check which address sent the signed-transaction and we can check if the address is present in the
registeredUsers
arraynaming: registeredUsers / registeredUserAddresses or another similar name is ok
The text was updated successfully, but these errors were encountered: