-
Notifications
You must be signed in to change notification settings - Fork 9
KYC Verification EOA Check #14
Comments
FYI - function to do this from web3 is: |
@adamdossa right.
|
@GregTheGreek please take a look at this when you have a chance. |
@adamdossa @pabloruiz55 @ChainSafe Thoughts on adding this into template.js (wrapper)? That way we can just call web3.eth.getCode and all the contracts will have access? Edit: |
What would be the logic if it is a contract address? There are some cases where I could imagine a KYC provider wanting to be able to whitelist an address (many current ICOs do allow this), although perhaps it may require some extra diligence, and possibly a higher fee (or this may not be feasible for current KYC approaches). Either way, I think if we do this check we could either just display it as information to the KYC provider, but I don't think we want to hardcode disallowing contract addresses at the Solidity end. |
I guess that the idea is to at least give the KYC provider some quick info about the address. We can't ban it from the get-go as an address containing code could be a multsig wallet. I see no problem in adding that function to the wrapper, but we have to be very careful in how we allow people to use it. |
It's gonna be a v1 stretch goal - 100% for v2. |
Allow an easy way for KYC providers to verify if an address being requested for verification is a EOA/contract address or not.
The text was updated successfully, but these errors were encountered: