Expert.ai has designed and developed a Text Analysis module, with its own service and semantic engine, capable of extracting the address IDs of certain types of crypto wallets. A subset of cryptocurrencies of interest has been identified and requested to be retrieved. They are Bitcoin, Bitcoin Cash, Litecoin, and Zcash. Each one of them possesses own logic and format to generate crypto wallet IDs, and they have been deeply studied by Expert.ai for a better understanding of what to extract by exploiting both regular expressions and rule-based methods (acting in disambiguation).
Bitcoin
Bitcoin contemplates three address formats, called P2PKH, P2SH, and Bech32. They have traceable patterns that have been integrated in a unique regular expression.
Table 1. Bitcoin extraction
Bitcoin Cash
Bitcoin Cash is based on the Bech32 format used for Bitcoin, and initially they were extremely similar, differing in just few aspects. This soon became an issue because of the ambiguity it created between Bitcoin Cash and certain addresses of Bitcoin, and it was only solved with the creation of a new and safer format called CashAddr, while the old one was renamed Legacy. CashAddr includes three possible prefixes, and some changes inside the code. All the CashAddr pattern possibilities have been implemented in a unique regular expression.
Table 2. Bitcoin Cash extraction
About the Legacy format, the regex developed was integrated with a Cogito rule capable of disambiguating Bitcoin Cash from Bitcoin based on the context.
Litecoin
Also Litecoin addresses are based on Bitcoin formats, this time on P2PKH and P2SH. Even here, as in Bitcoin Cash Legacy, there could be ambiguity with Bitcoin, and as in Bitcoin Cash Legacy, Cogito rules intervene to disambiguate thanks to the contexts.
Figure 1. Litecoin disambiguation
Table 3. Litecoin extraction
Zcash
Zcash possesses 3 different formats, called transparent, sprout, and sapling. Since they are highly differentiated one from each other, 3 different regular expressions have been developed, and Cogito associates them to the corresponding format:
Table 4. Zcash Transparent extraction
Table 5. Zcash Sprout extraction
Table 6. Zcash Sapling extraction
Online tool
The tool has been presented in the context of NOTIONES Working Group 3 – Tools for tracing cryptocurrencies used in criminal finances.
It has been published in demo format in order to make it available for trial purposes (REST client needed).
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Cookie
Duration
Description
cookielawinfo-checkbox-analytics
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional
11 months
The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy
11 months
The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.