recently I want to write some website login program using ERC tokens ,can anyone show me the way to do that ? an idea or a route are both good for me

closed as too broad by shane, flygoing, Briomkez, Achala Dissanayake, Aniket Nov 30 '18 at 12:37

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


Honestly, I think you would be better off to login with metamask or equivalent. Logging in with an ERC token makes little very sense to me. Please clarify what exactly are you trying to achieve.

Now when you login with 'metamask' you have to cryptographically prove that you own an Ethereum address, not sure how to replicate that for a ERC Token, especially with ERC20 tokens. Are you asking about ERC721 tokens?

I mean you could have a smart contract that handles authentication that subtracts ERC20 tokens every time a user logs in. Let me know if you need more details.

  • actually what I just mean is that , compared to login website using username and pwd ,I wanna use ERC875 tokens – user10294026 Dec 1 '18 at 14:58
  • 1
    I mean you can mix and match, require a user to login with metamask and only give access if they have a certain erc875 token balance, that shouldnt be that hard to inplement – GrandFleet Dec 1 '18 at 17:23
  • what I'm thinking was , when handle a signup ,use publicAddress as erc875_token recipient address ,and only give access to sign in when its publicAddress.balance i== 0 – user10294026 Dec 16 '18 at 7:30

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