All Projects → elyselam → Etherscan Ml

elyselam / Etherscan Ml

Python Data Science and Machine Learning Library for the Ethereum and ERC-20 Blockchain

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Etherscan Ml

Trust Ray
☁️ API for the Trust Wallet. Project no longer supported and current version used as source of transactions and address tokens in Blockatlas https://github.com/trustwallet/blockatlas/blob/master/config.yml#L64
Stars: ✭ 172 (+212.73%)
Mutual labels:  blockchain, ethereum, cryptocurrency, erc20
Kelp
Kelp is a free and open-source trading bot for the Stellar DEX and 100+ centralized exchanges
Stars: ✭ 580 (+954.55%)
Mutual labels:  blockchain, ethereum, cryptocurrency
Blockchainage
「区块链技术指北」相关资料。
Stars: ✭ 51 (-7.27%)
Mutual labels:  blockchain, ethereum, cryptocurrency
Blockchain Reading List
Blockchain Manchester Meetups, Talks and Reading List
Stars: ✭ 17 (-69.09%)
Mutual labels:  blockchain, ethereum, cryptocurrency
Aztec
Public repository for the AZTEC protocol
Stars: ✭ 483 (+778.18%)
Mutual labels:  blockchain, ethereum, ethereum-blockchain
Exchangesharp
ExchangeSharp is a powerful, fast and easy to use .NET/C# API for interfacing with many crypto currency exchanges. REST and web sockets are supported.
Stars: ✭ 489 (+789.09%)
Mutual labels:  blockchain, ethereum, cryptocurrency
Cryptolights
Live visualisation of blockchain transactions for popular cryptocurrencies
Stars: ✭ 54 (-1.82%)
Mutual labels:  blockchain, ethereum, cryptocurrency
Crypto Whale Watching App
Python Dash app that tracks whale activity in cryptocurrency markets.
Stars: ✭ 389 (+607.27%)
Mutual labels:  ethereum, cryptocurrency, ethereum-blockchain
Etgate
Ethereum-Tendermint token sending gateway
Stars: ✭ 23 (-58.18%)
Mutual labels:  blockchain, ethereum, cryptocurrency
Aeternity
æternity: solving scalability problems by making sense of state-channels
Stars: ✭ 923 (+1578.18%)
Mutual labels:  blockchain, ethereum, cryptocurrency
Ethereumdb
Stars: ✭ 21 (-61.82%)
Mutual labels:  blockchain, ethereum, data-science
Tokensale
Tokensale Best Practices for Founders
Stars: ✭ 50 (-9.09%)
Mutual labels:  blockchain, ethereum, erc20
Scatterdesktop
Connect to applications on EOS, Ethereum, and Tron. Exchange tokens with ease. Manage your assets safely. All in a simple to use interface.
Stars: ✭ 459 (+734.55%)
Mutual labels:  blockchain, ethereum, cryptocurrency
Status Go
The Status module that consumes go-ethereum
Stars: ✭ 579 (+952.73%)
Mutual labels:  blockchain, ethereum, cryptocurrency
Presto Ethereum
Presto Ethereum Connector -- SQL on Ethereum
Stars: ✭ 450 (+718.18%)
Mutual labels:  blockchain, ethereum, ethereum-blockchain
Wallet Core
Cross-platform, cross-blockchain wallet library.
Stars: ✭ 657 (+1094.55%)
Mutual labels:  blockchain, ethereum, cryptocurrency
Disperse
React/Redux dApp (decentralized app) boilerplate using Ethereum's blockchain
Stars: ✭ 36 (-34.55%)
Mutual labels:  blockchain, ethereum, ethereum-blockchain
React Ethereum Dapp Example
A starter boilerplate for an Ethereum dapp using web3.js v1.0, truffle, react, and parity
Stars: ✭ 384 (+598.18%)
Mutual labels:  blockchain, ethereum, ethereum-blockchain
Nimbus Eth1
Nimbus: an Ethereum 1.0 and 2.0 Client for Resource-Restricted Devices
Stars: ✭ 386 (+601.82%)
Mutual labels:  blockchain, ethereum, cryptocurrency
Uniswap V2 Core
🎛 Core smart contracts of Uniswap V2
Stars: ✭ 889 (+1516.36%)
Mutual labels:  ethereum, cryptocurrency, erc20

Etherscan ML Machine Learning, Data Processing and Bash module

This is an ongoing project. Made by Elyse Lam for the USC Viterbi Data Science Bootcamp

Adapted from py-etherscan-api module by https://github.com/corpetty/

pip install etherscan-ml
wget https://tinyurl.com/etherscan-ml
MACOSX: brew install gnu-sed

Scrape Etherscan then use Gephi to visualize network of transactions

Markdown Monster icon


## wallet-tools

ether_balance.py - Ether balance of a wallet.

wallet_inspector.py - Experimental..discovered an undocumented API gets all transactions without paging issue get_all_transactions had. Requires additional formatting. transaction_batch.py - Gets all of the 1st page transactions for a wallet.

## erc20-tools

get_abi.py - Gets the abi of a smart contract. Fails for non-smart contracts. TODO: integrate with token test automation libraries

get_token_balance.py - Gets the token balance of a wallet address. Useful to connect with data pulled from all_transactions.py

all_transactions.py- Used to get all transactions for a Token. Must install gnu-sed (brew install gnu-sed) on Mac. Linux change gsed in fix_batch.sh to sed Python 3 only. Takes at least 20 mins to pull every transaction a token has ever had.
Usage: python3.6 all_transactions.py > tokenname.preprocessed
(after completion): ./fix_batch.sh tokenname.preprocessed
(if you need a csv): python3.6 convert-wallet.py
Testing: run ./fix_batch.sh medtoken.preprocessed for test data
Notes: ERC20 Transfers are buried inside of the data in the input field.
This line works for a google sheets import of the CSV but I am working on a better tool.
="0x"&LEFT(RIGHT($M4, 104), 40) M is the location of input, and 4 is the row. The rest is charcount stripping.

ether-tools


get_ether_last_price.py - Gets latest price.

get_total_ether_supply.py - Gets total available ether in Ethereum Network.

Original py-etherscan-api was a well built scaffolding for python scripts using the Etherscan API. The examples were so easy to work with I created a very basic command line interface and a couple new tools and decided to package them so you can integrate etherscan into your bash or python scripts as an input or output.

Directories have been restructured to fit the tools better. I pipe different wallet-tools into csvs for training or call them based on triggers from bash scripts. Suggestions and requests welcome.

Original Documentation Below:

EtherScan.io API python bindings

Description

This module is written as an effort to provide python bindings to the EtherScan.io API, which can be found at: https://etherscan.io/apis In order to use this, you must attain an Etherscan user account, and generate an API key.

In order to use the API, you must provide an API key at runtime, which can be found at the Etherscan.io API website. If you'd like to use the provided examples without altering them, then the JSON file api_key.json must be stored in the base directory. Its format is as follows:

{ "key" : "YourApiKeyToken" }

with YourApiKeyToken is your provided API key token from EtherScan.io

Installation

To install the package to your computer, simply run the following command in the base directory:

python setup.py install

Available bindings

Currently, only the following Etherscan.io API modules are available:

  • accounts
  • stats
  • tokens

The remaining available modules provided by Etherscan.io will be added shortly

Examples

All possible calls have an associated example file in the examples folder to show how to call the binding

These of course will be fleshed out with more details and explanation in time

Jupyter notebooks area also included in each directory to show all examples

TODO:

  • Package and submit to PyPI
  • Add the following modules:
    • event logs
    • geth proxy
    • websockets
  • Add robust documentation
  • Add unit test suite
  • Add request throttling based on Etherscan's suggestions
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].