Skip to content

🚀 Feature: Validate cryptocurrency addresses thorugh an deterministic finite automaton #10

@DiFronzo

Description

@DiFronzo

🔖 Feature description

To make sure the user is sending a valid address(es) for a specific cryptocurrency. There should be somthing that is fast for validating but also strict.

🎤 Pitch

A solution is to use either DFA or NFA. Because NFA could be kind of time-consuming, I think that DFA is the best option.

DFA for the following crypto (must also support multi-signature addresses):

  • Bitcoin
  • Bitcoin Cash
  • Litecoin
  • Bitcoin SV
  • Dogecoin
  • Dash
  • Groestlcoin
  • Zcash
  • eCash
  • Ethereum

That is enough to start with.

Q: How can I test that the DFA is working for X crypto?
A: Use Database Dumps from Blockchair.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthacktoberfestIssues that could count towards Hacktoberfest

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions