Comprehensive Analysis of Token Data and Literature Review on AI Ethics: Insights from ERC20 and ERC271 Tokens, Chainlink and Bored Ape Yacht Club
Project Information
- Author: Ace Asim, Ethics and Leadership (Public Policy), Class of 2025, Duke Kunshan University
- Instructor: Prof. Luyao Zhang, Duke Kunshan University
- Disclaimer: Submissions to the Problem Set 1 for STATS201 Introduction to Machine Learning for Social Science, 2023 Spring Term (Seven Week - First) instructed by Prof. Luyao Zhang at Duke Kunshan University.
- Acknowledgments: I’m extremely grateful to Professor Luyao Zhang whom this project would not be possible without. Also, I’d like to give a special thank-you to Ava Baker and Shiran Yuan for your assistance with this project.
Project Summary
This project involves a comprehensive analysis of various token data from Infura, alchemy, and QuickNode. Specifically, Ace analyzed ERC20 and ERC271 tokens, focusing on Chainlink and tokens from the Bored Ape Yacht Club, respectively. In addition, the project also involves an extensive literature review of AI Ethics, analyzing a pool of papers to establish word connections. The project utilized advanced data analytics tools to identify the most commonly used words in the title and abstract, as well as the most frequently paired words.
Table of Contents
Data
Code
Spotlight
Figure 1: Word Cloud
Figure 1, the word cloud, is a visual representation of a collection of words where the size of each word is determined by its frequency or importance within the text. The more frequently a word appears in the text, the larger it appears in the word cloud. Word clouds are often used to provide a quick overview or summary of a large text dataset and help to identify key themes or topics.
In this case, the word cloud suggests that there is a growing concern about the ethical implications of AI in the legal system. Other words that are also prominent in the word cloud include “AI”,” “Legal,” “Artificial,” “Intelligence,” “Ethical,” and “Issue,” which further reinforce the idea that there are complex and multifaceted issues related to the intersection of AI and the legal system. Overall, the word cloud suggests that there is a need for thoughtful consideration and discussion of the ethical, legal, and social implications of AI in the legal field.
Source: Relevant Literature: AI Ethics Created by WordCloud
Figure 2: Bigram
Figure 2, a bigram, is a sequence of two words that occur together in a text. PMI (Pointwise Mutual Information) is a measure of how often two words occur together compared to how often we would expect them to occur by chance. When the PMI value is high, it indicates that the two words are strongly associated with each other.
In this case, the highest PMI is between “Artificial” and “Intelligence,” and “AI” and “Issues,” also implying the growing concern about the ethical implications of AI in the legal system.
Source: Relevant Literature: AI Ethics Created by WordCloud
References
Data Source
- Infura
- Alchemy
- Etherscan
- Citations for Literature can be found in the Literature Section
Code Source
-
[Sample Code for Problem Set 1 Demo: Ethereum, Blockchain, API](https://github.com/sunshineluyao/EthereumETL-Instructions/blob/main/Problem_Set_1_Demo_Ethereum_Blockchain_API.ipynb) - Sample Code for Network Analysis/Literature Review
Literature
Chicago Author-Date
-
Chainlink Foundation. 2017a. “Blockchain Oracles for Hybrid Smart Contracts Chainlink.” Chain.link. 2017. https://chain.link/. - ———. 2017b. “Chainlink Labs.” Chainlinklabs.com. 2017. https://chainlinklabs.com/.
- Coinbase. 2023. “Bored Ape Yacht Club BAYC.” Coinbase.com. Coinbase. 2023. https://www.coinbase.com/price/bored-ape-yacht-club.
- consensys. 2020. “What Is Ethereum 2.0?” ConsenSys. May 12, 2020. https://consensys.net/blog/blockchain-explained/what-is-ethereum-2/.
-
Crypto.com. 2018. “Chainlink Price LINK Price, USD Converter, Charts Crypto.com.” Https://Crypto.com/Price/Chainlink. 2018. https://crypto.com/price/chainlink. - ethereum.org. 2023. “Ethereum Upgrades (Formerly ‘Eth2’).” Ethereum.org. 2023. https://ethereum.org/en/upgrades/.
- Hayward, Decrypt / Andrew. 2021. “What Is Bored Ape Yacht Club? The Celebrity NFT of Choice.” Decrypt. September 15, 2021. https://decrypt.co/resources/what-is-bored-ape-yacht-club-the-celebrity-nft-of-choice.
- Joshi, M. 2021. “Exploring the Bored Ape Yacht Club: An Analysis of a Crypto-Collectible.” SSRN Electronic Journal. 2021. https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3856010.
- Tsankov, P., Danışman, E., Khun, T., Bindschaedler, C., Coppens, B., Holz, R., & Gervais, A. 2018. “Decentralized Oracle Networks: A Survey and Taxonomy.” arXiv preprint arXiv:1808.09292. 2018.
BibTex
@misc{_2018_chainlink,
author = {, Crypto.com},
title = {Chainlink Price | LINK Price, USD converter, Charts | Crypto.com},
url = {https://crypto.com/price/chainlink},
urldate = {2023-01-29},
year = {2018},
organization = {https://crypto.com/price/chainlink}
}
@misc{_2017_blockchain,
author = {, Chainlink Foundation},
title = {Blockchain Oracles for Hybrid Smart Contracts | Chainlink},
url = {https://chain.link/},
year = {2017},
organization = {chain.link}
}
@misc{_2017_chainlink,
author = {, Chainlink Foundation},
title = {Chainlink Labs},
url = {https://chainlinklabs.com/},
year = {2017},
organization = {chainlinklabs.com}
}
@misc{_2023_ethereum,
author = {, ethereum.org},
title = {Ethereum upgrades (formerly 'Eth2')},
url = {https://ethereum.org/en/upgrades/},
year = {2023},
organization = {ethereum.org}
}
@misc{_2020_what,
author = {, consensys},
month = {05},
title = {What is Ethereum 2.0?},
url = {https://consensys.net/blog/blockchain-explained/what-is-ethereum-2/},
year = {2020},
organization = {ConsenSys}
}
@misc{hayward_2021_what,
author = {Hayward, Decrypt / Andrew},
month = {09},
title = {What is Bored Ape Yacht Club? The Celebrity NFT of Choice},
url = {https://decrypt.co/resources/what-is-bored-ape-yacht-club-the-celebrity-nft-of-choice},
year = {2021},
organization = {Decrypt}
}
@misc{_2023_bored,
author = {, Coinbase},
publisher = {Coinbase},
title = {Bored Ape Yacht Club BAYC},
url = {https://www.coinbase.com/price/bored-ape-yacht-club},
year = {2023},
organization = {coinbase.com}
}
@misc{_2018_decentralized,
author = {, Tsankov, P., Danışman, E., Khun, T., Bindschaedler, C., Coppens, B., Holz, R., & Gervais, A. },
publisher = {arXiv preprint arXiv:1808.09292.},
title = {Decentralized oracle networks: A survey and taxonomy.},
year = {2018}
}
@misc{joshi_2021_exploring,
author = {Joshi, M.},
publisher = {SSRN Electronic Journal},
title = {Exploring the Bored Ape Yacht Club: An Analysis of a Crypto-Collectible},
url = {https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3856010},
year = {2021}
}
![image](https://user-images.githubusercontent.com/122700704/232028040-7fd90cfc-1558-4b40-ae3e-65c03797d018.png)
pip3 install ethereum-etl