Sentiment analysis on cryptocurrency in a Muslim-majority country: Evidence from Indonesian social media
-
DOIhttp://dx.doi.org/10.21511/imfi.23(2).2026.20
-
Article InfoVolume 23 2026, Issue #2, pp. 264-275
- 22 Views
-
3 Downloads
This work is licensed under a
Creative Commons Attribution 4.0 International License
Type of the article: Research Article
Abstract
The rapid growth of cryptocurrency has generated significant debate in Muslim-majority societies, where financial transactions are expected to conform to Islamic legal principles. In Indonesia, the Indonesian Ulema Council (MUI) issued a fatwa in 2021 declaring the use of cryptocurrency as a means of exchange unlawful (haram) on the grounds that it contains elements of excessive uncertainty and harm. Despite this religious prohibition, the government continues to permit cryptocurrency trading as a regulated commodity, creating a complex normative environment that shapes public discourse. This study analyzes the sentiment of Indonesian Muslims toward cryptocurrency by applying Natural Language Processing (NLP) techniques to a corpus of 1,065 Indonesian-language tweets collected from the X (formerly Twitter) platform over six months (October 2024–March 2025). The IndoBERT-base-p1 model, a state-of-the-art transformer-based language model pre-trained on Indonesian text, was employed for three-class sentiment classification (positive, neutral, negative). The results indicate that neutral sentiment is dominant, accounting for 80.8% of the corpus (861 tweets), while positive sentiment represents 12.9% (137 tweets) and negative sentiment 6.4% (67 tweets). The predominance of neutral sentiment suggests that the majority of Indonesian Muslim social media users maintain a cautious and observational stance, shaped by ongoing scholarly debate, limited digital financial literacy, and regulatory ambiguity. The study contributes to the literature by providing the first application of a deep learning NLP model to the analysis of Indonesian Muslim discourse on cryptocurrency, integrating perspectives from Islamic finance and computational linguistics.
Acknowledgment
The substantial financial support for this study is sponsored by the Ministry of Religious Affairs (MoRA) and the Indonesia Endowment Fund for Education (LPDP) of the Ministry of Finance of the Republic of Indonesia.
- Keywords
-
JEL Classification (Paper profile tab)G23, G28, O14, O32, O33
-
References49
-
Tables1
-
Figures3
-
- Figure 1. Research data processing workflow
- Figure 2. Illustration of the BERT fine-tuning procedure
- Figure 3. Confusion matrix for the IndoBERT model on the test set
-
- Table 1. Classification performance metrics of the IndoBERT-base-p1 model
-
- Abadi, K., Ahmad Taufiq, & Rizka Roikhana. (2023). Cryptocurrency and crypto assets in the perspective of Islamic legal system philosophy. Hikmatuna: Journal for Integrative Islamic Studies, 9(2), 131-146.
- Abdelgawad, H. M. (2024). The impact of Islamic law on cryptocurrency regulation in Egypt. Manchester Journal of Transnational Islamic Law & Practice, 20(3), 381-388.
- Akbar, M. A. (2022). Towards an interpretation of cryptocurrency as a commodity from maqasid al-shari’ah perspective. Al-Iqtishad: Journal of Islamic Economics, 5(2), 161-174.
- Alekseenko, A. P. (2022). Legal regulation of the use of distributed ledger technologies in financial sector of Singapore. Revista de Investigaciones Universidad del Quindío, 34(S2), 381-391.
- Alghamdi, S., Alqethami, S., Alsubait, T., & Alhakami, H. (2022). Cryptocurrency price prediction using forecasting and sentiment analysis. International Journal of Advanced Computer Science and Applications, 13(10).
- Ali, S. N., & Jumat, Z. H. (2024). Islamic finance in the digital age. Edward Elgar Publishing.
- Arora, G. (2020). Cryptoasset regulatory framework in Japan. SSRN Electronic Journal.
- As-Salafiyah, A., & Huda, N. (2021). Cryptocurrency in Indonesia: A sentiment analysis. European Journal of Islamic Finance, 10(3).
- Bartoletti, M., Lande, S., Loddo, A., Pompianu, L., & Serusi, S. (2021). Cryptocurrency scams: Analysis and perspectives. IEEE Access, 9, 148353-148373.
- Bello, A., Ng, S. C., & Leung, M. F. (2023). A BERT framework for sentiment analysis of tweets. Sensors, 23(1), 506.
- Birjaman, M. I., Marits, S. A., & Herman, S. (2024). Cryptocurrency in Islamic view: Sentiment analysis method approach. Jurnal Ilmiah Manajemen Kesatuan, 12(1), 27-32.
- Cameron, C. (2020). The regulation of cryptocurrency to remunerate employees in Australia. Australian Journal of Labour Law, 33(2).
- Chen, R., Lepori, G. M., Tai, C.-C., & Sung, M.-C. (2022). Explaining cryptocurrency returns: A prospect theory perspective. Journal of International Financial Markets, Institutions and Money, 79, 101599.
- Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019). BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of NAACL-HLT 2019 (pp. 4171-4186). Association for Computational Linguistics.
- Febriandika, N. R., Fadli, F., & Mi’raj, D. A. (2022). How are NFT (Non-Fungible Token) transactions reviewed according to Islamic law? Borobudur Law Review, 4(1), 1-12.
- Filimonov, I., & Tajti, T. (2023). Cryptocurrency regulation: A comparative analysis of the European Union and the United States. Central European University.
- Fitriana, W., & Nuraini, M. D. (2023). Juridical Analysis of Legal Updates on Crypto Assets in Indonesia (Comparative Study of Indonesian Law with Singapore and Islamic Law Views). Journal of Transcendental Law, 5(1), 55-72.
- Garba, K. H., Lazarus, S., & Button, M. (2024). An assessment of convicted cryptocurrency fraudsters. Current Issues in Criminal Justice, 37, 1-17.
- Gechev, V. (2024). Crypto and its industry of theft. SSRN Electronic Journal.
- Gupta, S., Himanshu, Dhingra, S., & Aggarwal, R. (2023). What explains the sudden surge in cryptocurrency? A consumption value theory perspective. Digital Policy, Regulation and Governance, 25(6), 634-652.
- Hassan, M. K., Hudaefi, F. A., & Caraka, R. E. (2022). Mining netizen’s opinion on cryptocurrency: Sentiment analysis of Twitter data. Studies in Economics and Finance, 39(3), 365-385.
- Imaduddin, H., Yusfida A’la, F., & Nugroho, Y. S. (2023). Sentiment analysis in Indonesian healthcare applications using IndoBERT approach. International Journal of Advanced Computer Science and Applications, 14(8).
- Jayadianti, H., Kaswidjanti, W., Utomo, A. T., Saifullah, S., Dwiyanto, F. A., & Drezewski, R. (2022). Sentiment analysis of Indonesian reviews using fine-tuning IndoBERT and R-CNN. ILKOM Jurnal Ilmiah, 14(3), 348-354.
- Johary, R., Révillion, C., Catry, T., Alexandre, C., Mouquet, P., Rakotoniaina, S., Pennober, G., & Rakotondraompiana, S. (2023). Detection of large-scale floods using Google Earth Engine and Google Colab. Remote Sensing, 15(22).
- Khan, S. N. (2022). The legality of cryptocurrency from an Islamic perspective: A research note. Journal of Islamic Accounting and Business Research, 14(2), 289-294.
- Koeswandana, N. A., & Sugino, F. A. (2023). Intention to use cryptocurrency: Social and religious perspective. Jurnal Ekonomi & Keuangan Islam, 9(1), 91-103.
- Krause, D. S. (2025). The rise and fall of Bitcoin as legal tender: An analysis of El Salvador’s experiment. International Journal of Cryptocurrency Research, 5(1), 1-9.
- Liu, F., Fan, H. Y., & Qi, J. Y. (2022). Blockchain technology, cryptocurrency: Entropy-based perspective. Entropy, 24(4).
- Liu, Z., & Li, X. (2025). SoK: Security analysis of blockchain-based cryptocurrency. arXiv.
- Mardi, M. (2021). Cryptocurrency technology of Litecoin for investment and business transactions based on Islamic law perspective. Syaikhuna: Jurnal Pendidikan dan Pranata Islam, 12(2), 197-209.
- Nadiar, R., Nor, W., & Safrida, L. (2022). Cryptocurrency Transaction: is it Relevant to Indonesian Accounting Standards? Riset Akuntansi dan Keuangan Indonesia, 217-226.
- Nakamoto, S. (2008). Bitcoin: A peer-to-peer electronic cash system.
- Nelson, F. M., Prosperiani, M. D., Ramadhan, C. R., & Andini, P. P. (2024). Cracking the code: Investigating the hunt for crypto assets in money laundering cases in Indonesia. Journal of Indonesian Legal Studies, 9(1), 89-130.
- Norisnita, M., & Indriati, F. (2022). Application of theory of planned behavior (TPB) in cryptocurrency investment prediction: A literature review. Journal of Economics and Business, 5(2).
- Othman, A. M. Z., & El Dosh, E. M. E. (2023). Regulating digital currencies in the Emirate of Dubai: A comparative legislative review. International Journal of Public Law and Policy.
- Ramaputra, C. A., Al Faroby, M. H. Z., & Lidiawaty, B. R. (2024). Sentiment analysis of user reviews on cryptocurrency application: Evaluating the impact of dataset split scenarios using multinomial Naive Bayes. The Indonesian Journal of Computer Science, 13(4).
- Recskó, M., & Aranyossy, M. (2024). User acceptance of social network-backed cryptocurrency. Financial Innovation, 10(1).
- Riani, R., & Ikhwan, I. (2024). Cryptocurrency: A sentiment analysis from Twitter data. IFT Journal, 1(1).
- Rohman, M. H., Rosid, A., & Alfiyanti, A. (2023). Understanding the legal and religious perspectives on cryptocurrency transactions: A study of DSN-MUI fatwa and Indonesian currency regulation. Istinbath: Jurnal Hukum, 20(1), 38-53.
- Saadah, S., Auditama, K. M., Fattahila, A. A., Irfan, F. I., Aditsania, A., & Rohmawati, A. A. (2022). Implementation of BERT, IndoBERT, and CNN-LSTM in classifying public opinion about COVID-19 vaccine in Indonesia. Jurnal RESTI, 6(4), 648-655.
- Sari, M. A., & Rofiuddin, M. (2022). Analysis of inflation, population, and economic growth on poverty in Muslim-majority provinces in Indonesia. Indonesian Journal of Islamic Economics Research, 4(2), 76-86.
- Sayarizki, P., & Nurrahmi, H. (2024). Implementation of IndoBERT for sentiment analysis of Indonesian presidential candidates. Journal on Computing, 9(2), 61-72.
- Sekar Bidari, A., & Nurviana, R. (2022). Regulation and the future of cryptocurrency in Indonesia. Business and Accounting Research (IJEBAR), 6.
- Selcuk, M., & Kaya, S. (2021). A critical analysis of cryptocurrencies from an Islamic jurisprudence perspective. Turkish Journal of Islamic Economics, 8(1), 137-152.
- Spithoven, A. (2019). Theory and reality of cryptocurrency governance. Journal of Economic Issues, 53(2), 385-393.
- Taniady, V., Permatasari, S. P., & Nugraha, R. W. (2022). Crypto asset-trade resilience during the Covid-19 pandemic in Indonesia. Jurnal Jurisprudence, 11(1), 31-43.
- Thoma, A. (2020). A prospect theory model for predicting cryptocurrency returns (Working paper). University of Zurich, Department of Finance. SSRN.
- Wilie, B., Vincentio, K., Winata, G. I., Cahyawijaya, S., Li, X., Lim, Z. Y., Soleman, S., Mahendra, R., Fung, P., Bahar, S., & Purwarianti, A. (2020). IndoNLU: Benchmark and resources for evaluating Indonesian natural language understanding. In Proceedings of AACL-IJCNLP 2020 (pp. 843-857). ACL.
- Wu, J., Liu, J., Zhao, Y., & Zheng, Z. (2021). Analysis of cryptocurrency transactions from a network perspective: An overview. Journal of Network and Computer Applications, 190, 103139.


