• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisionf3819b6876c578bee60422b85311cb7388b54f02 (tree)
Time2023-12-17 23:13:16
AuthorLorenzo Isella <lorenzo.isella@gmai...>
CommiterLorenzo Isella

Log Message

A project to track addresses and portfolios on several blockchains.

Change Summary

Incremental Difference

diff -r 5b0e53a7fb62 -r f3819b6876c5 R-codes/track_whales.R
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/R-codes/track_whales.R Sun Dec 17 15:13:16 2023 +0100
@@ -0,0 +1,40 @@
1+rm(list=ls())
2+
3+library(tidyverse)
4+library(janitor)
5+library(cryptotrackr)
6+
7+
8+source("/home/lorenzo/myprojects-hg/R-codes/stat_lib.R")
9+
10+## etherscan
11+
12+## address <- "0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae"
13+
14+## api_key <- "8GIHGAKW8FN23D9JEZY9273W5DFHA8DEJS"
15+
16+## account_balance <- etherscan_account_balance(address, api_key)
17+
18+
19+## covalent
20+
21+
22+
23+
24+api_key <- "cqt_rQMGJ9wyMJhhhPYFQjKCFGRFBjM6"
25+## balances <- covalent_balances(api_key, "1", "trevorfrench.eth", csv = FALSE)
26+## balances$data$items[,c(2,10)]
27+
28+
29+
30+
31+balances2 <- covalent_balances(api_key, "56",
32+ "0x08bb674adb855c7a08dd462c814be4829399b845", csv = FALSE)
33+
34+my_bal <- balances2$data$items[,c(2,10)] |>
35+ as_tibble()
36+
37+print("So far so good")
38+
39+
40+