This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as ethUtil from 'ethereumjs-util'; | |
| console.log('got here'); | |
| window.ethUtil = ethUtil; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let image_show = parcel.getFeatureById('image_show_delegation') | |
| feature.on('click',e=>{ | |
| image_show.set({'url':"http://r-cv-api.org/delegation/delegations_unrealized_rewards?delegator="+e.player.wallet}) | |
| console.log(e.player.wallet) | |
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(ghql) | |
| library(jsonlite) | |
| library(tidyverse) | |
| # connect to endpoint | |
| con = GraphqlClient$new( | |
| url = "https://api.thegraph.com/subgraphs/name/graphprotocol/graph-network-analytics" | |
| ) | |
| # initialize a new query | |
| graphql_request = Query$new() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Automated Backups Cryptovoxels | |
| on: | |
| schedule: | |
| - cron: '0 10 * * *' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| title: "HEN Data Lookup" | |
| output: | |
| flexdashboard::flex_dashboard: | |
| orientation: rows | |
| vertical_layout: fill | |
| theme: spacelab | |
| source_code: embed | |
| social: ['twitter','facebook','linkedin'] | |
| runtime: shiny |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(ghql) | |
| library(jsonlite) | |
| library(tidyverse) | |
| library(ggdark) | |
| library(ggfx) | |
| library(scales) | |
| # Tag to lookup: | |
| artist = "tz2Pkj2xWJovKKCsABjnr3NbyMVJTMBkpTvb" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(ghql) | |
| library(jsonlite) | |
| library(tidyverse) | |
| library(ggdark) | |
| library(ggfx) | |
| library(scales) | |
| # Tag to lookup: | |
| tag = "objkt4objkt" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://wiki.cryptovoxels.com/en/External-API | |
| # Pull data from opensea using vox tokenIDs pulled in grt_vox_pull_tokenID.R | |
| library(jsonlite) | |
| library(httr) | |
| library(tidyverse) | |
| # example | |
| url <- 'https://www.cryptovoxels.com/api/parcels.json' | |
| # Get the data from the url |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| query { | |
| transactions( | |
| tags: [ | |
| { | |
| name: "Content-Type", | |
| values: ["application/zip"] | |
| }, | |
| { | |
| name: "Tag-Name", | |
| values: ["CryptoVoxelsArchive"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Automated Backups Cryptovoxels | |
| on: | |
| schedule: | |
| - cron: '0 10 * * *' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 |
NewerOlder