I want to exclude all contract account to use my contract. How can I detect the account has deployed contract or not?


Unfortunately, this isn't possible at the moment. The best you can do is have an oracle that keeps track of this information and query a table from the oracle, however this isn't guaranteed to work as oracle's can break or go offline and in general are 'centralised solutions'.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.