Compare commits

..

2 Commits

Author SHA1 Message Date
modusto
f52e974c1d Merge 6deefe4234 into f099707f6e 2022-02-05 11:51:16 -08:00
modusto
6deefe4234 Create Riri 2022-02-05 11:50:20 -08:00
18 changed files with 1604 additions and 9722 deletions

View File

@@ -19,10 +19,10 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Setup node 16
- name: Setup node 12
uses: actions/setup-node@v2
with:
node-version: 16.x
node-version: 12.x
cache: npm
- run: npm ci
- run: npm run build

View File

@@ -23,10 +23,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set Node.js 16.x
- name: Set Node.js 12.x
uses: actions/setup-node@v2
with:
node-version: 16.x
node-version: 12.x
cache: npm
- name: Install dependencies

View File

@@ -18,7 +18,7 @@ jobs:
- name: Install licensed
run: |
cd $RUNNER_TEMP
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/3.4.4/licensed-3.4.4-linux-x64.tar.gz
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/3.3.1/licensed-3.3.1-linux-x64.tar.gz
sudo tar -xzf licensed.tar.gz
sudo mv licensed /usr/local/bin/licensed
- run: licensed status

View File

@@ -1,9 +1,9 @@
---
name: tr46
version: 0.0.3
name: "@actions/core"
version: 1.2.4
type: npm
summary: An implementation of the Unicode TR46 spec
homepage: https://github.com/Sebmaster/tr46.js#readme
summary: Actions core lib
homepage: https://github.com/actions/toolkit/tree/master/packages/core
license: mit
licenses:
- sources: Auto-generated MIT license text

View File

@@ -0,0 +1,32 @@
---
name: "@actions/http-client"
version: 1.0.8
type: npm
summary: Actions Http Client
homepage: https://github.com/actions/http-client#readme
license: mit
licenses:
- sources: LICENSE
text: |
Actions Http Client for Node.js
Copyright (c) GitHub, Inc.
All rights reserved.
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
notices: []

View File

@@ -1,32 +1,26 @@
---
name: "@types/node"
version: 16.11.25
version: 12.0.10
type: npm
summary: TypeScript definitions for Node.js
homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node
homepage: https://github.com/DefinitelyTyped/DefinitelyTyped#readme
license: mit
licenses:
- sources: LICENSE
text: |2
MIT License
Copyright (c) Microsoft Corporation.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
text: " MIT License\r\n\r\n Copyright (c) Microsoft Corporation. All rights
reserved.\r\n\r\n Permission is hereby granted, free of charge, to any person
obtaining a copy\r\n of this software and associated documentation files (the
\"Software\"), to deal\r\n in the Software without restriction, including without
limitation the rights\r\n to use, copy, modify, merge, publish, distribute,
sublicense, and/or sell\r\n copies of the Software, and to permit persons to
whom the Software is\r\n furnished to do so, subject to the following conditions:\r\n\r\n
\ The above copyright notice and this permission notice shall be included in
all\r\n copies or substantial portions of the Software.\r\n\r\n THE SOFTWARE
IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\n IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\n FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\n AUTHORS
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\n LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\n OUT
OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r\n
\ SOFTWARE\r\n"
notices: []

View File

@@ -1,6 +1,6 @@
---
name: node-fetch
version: 2.6.7
version: 2.6.1
type: npm
summary: A light-weight module that brings window.fetch to node.js
homepage: https://github.com/bitinn/node-fetch

View File

@@ -1,23 +0,0 @@
---
name: webidl-conversions
version: 3.0.1
type: npm
summary: Implements the WebIDL algorithms for converting to and from JavaScript values
homepage:
license: bsd-2-clause
licenses:
- sources: LICENSE.md
text: |
# The BSD 2-Clause License
Copyright (c) 2014, Domenic Denicola
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
notices: []

View File

@@ -1,32 +0,0 @@
---
name: whatwg-url
version: 5.0.0
type: npm
summary: An implementation of the WHATWG URL Standard's URL API and parsing machinery
homepage:
license: mit
licenses:
- sources: LICENSE.txt
text: |
The MIT License (MIT)
Copyright (c) 20152016 Sebastian Mayr
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
notices: []

452
Riri Normal file
View File

@@ -0,0 +1,452 @@
Main logo
Search for transactions, addresses, blocks and embedded text data...
API
API documentation
API documentation
Introduction
General stats endpoints
Retrieve overall information about blockchains and tokens
Stats on multiple blockchains at once
Bitcoin-like blockchain stats
Ethereum-like blockchain stats
Ripple-like blockchain stats
Stellar-like blockchain stats
Monero-like blockchain stats
Cardano-like blockchain stats
Mixin-like DAG stats
Tezos-like blockchain stats
EOS-like blockchain stats
Cross-chain token stats
Omni Layer stats
ERC-20 stats
Dashboard endpoints
Retrieve information about various entities in a neat format from our databases
Raw data endpoints
Retrieve raw information about various entities directly from our full nodes
Infinitable endpoints
SQL-like queries: filter, sort, and aggregate blockchain data
Misc endpoints
Privacy-o-meter
News aggregator
Support
Show all
Blockchair API
Blockchair API
Blockchair API provides developers, researchers, and businesses with access to data contained in 19 blockchains
Explore pricing plans
Stats on multiple blockchains at once
Allows to retrieve the most important stats on all blockchains we support via just one API request.
Endpoint:
https://api.blockchair.com/stats
If you require data on just one blockchain, please use https://api.blockchair.com/{:chain}/stats instead.
Output:
data contains an array with stats on 15 blockchains we support at once:
Bitcoin
Bitcoin Cash
Ethereum
Litecoin
Bitcoin SV
Dogecoin
Dash
Ripple
Groestlcoin
Stellar
Monero
Cardano
Zcash
Mixin
Tezos
eCash
and on 3 cross-chain tokens:
Tether (USDT)
USD Coin (USDC)
Binance USD (BUSD)
Note that Bitcoin Testnet stats are not included in this output.
Description of the fields is available in the next three sections of documentation.
Example output:
https://api.blockchair.com/stats:
{
"data": {
"bitcoin": {
"data": {
"blocks": 599952,
...
}
},
"bitcoin-cash": {
"data": {
"blocks": 605134,
...
}
},
"bitcoin-sv": {
"data": {
"blocks": 604886,
...
}
},
"ethereum": {
"data": {
"blocks": 8766052,
...
}
},
"litecoin": {
"data": {
"blocks": 1721519,
...
}
},
"dogecoin": {
"data": {
"blocks": 2941267,
...
}
},
"dash": {
"data": {
"blocks": 1156197,
...
}
},
"ripple": {
"data": {
"ledgers": 50795982,
...
}
},
"groestlcoin": {
"data": {
"blocks": 2801282,
...
}
},
"stellar": {
"data": {
"ledgers": 26968006,
...
}
},
"monero": {
"data": {
"blocks": 2014108,
...
}
},
"cardano": {
"data": {
"blocks": 3673733,
...
}
},
"zcash": {
"data": {
"blocks": 756512,
...
}
},
"mixin": {
"data": {
"snapshots": 18632532,
...
}
},
"tezos": {
"data": {
"blocks": 974144,
...
}
},
"cross-chain": {
"tether": {
"data": ...
},
"usd-coin": {
"data": ...
},
"binance-usd": {
"data": ...
}
}
},
"context": {
"code": 200,
...
}
}
}
Endpoint:
https://api.blockchair.com/stellar/stats
Output:
data contains an array with blockchain statistics:
ledgers — total number of ledgers
circulation — number of coins in circulation (in stroops)
best_ledger_height — the latest ledger number
best_ledger_hash — the latest ledger hash
best_ledger_time — the latest ledger time
ledgers_24h — number of ledgers closed over the last 24 hours
transactions_24h — number of transactions confirmed over the last 24 hours
successful_transactions_24h— number of successful transactions over the last 24 hours
failed_transactions_24h— number of failed transactions over the last 24 hours
operations_24h — number of operations over the last 24 hours
average_transaction_fee_24h — average transaction fee over the last 24 hours
average_transaction_fee_usd_24h — the same in USD
market_price_usd — average market price of 1 coin in USD (market data source: CoinGecko)
market_price_btc — average market price of 1 coin in BTC
market_price_usd_change_24h_percentage — market price change in percent for 24 hours
market_cap_usd — market capitalization (coins in circulation * price per coin in USD)
market_dominance_percentage — dominance index (how much % of the total cryptocurrency market is the market capitalization of the coin)
countdowns (optional) — an optional array of events ([event, time_left] format), where time_left is the number of seconds till the event
Example output:
https://api.blockchair.com/stellar/stats:
{
"data": {
"ledgers": 26602978,
"best_ledger_height": 26602978,
"best_ledger_hash": "3151f16e9a6ce9ee43f57a068c83a04c7e864ccc7d1027519d42aab79e13b40f",
"best_ledger_time": "2019-11-02 16:42:01",
"circulation": 1054439020873472900,
"ledgers_24h": 15643,
"transactions_24h": 461072,
"successful_transactions_24h": 285958,
"failed_transactions_24h": 175114,
"operations_24h": 1085466,
"average_transaction_fee_24h": 283.5731513695005,
"average_transaction_fee_usd_24h": 0.000001991250668916633,
"market_price_usd": 0.07022,
"market_price_btc": 0.0000075229454120425,
"market_price_usd_change_24h_percentage": 3.41847,
"market_cap_usd": 1406714595,
"market_dominance_percentage": 0.56
},
"context": {
"code": 200,
...
}
}
Request cost formula:
Always 1.
Explore visualization on our front-end:
https://blockchair.com/stellar
Request cost formula:
rs, and businesses with access to data contained in 19 blockchains
Explore pricing plans
Bitcoin-like blockchain stats
Endpoints:
https://api.blockchair.com/bitcoin/stats
https://api.blockchair.com/bitcoin-cash/stats
https://api.blockchair.com/litecoin/stats
https://api.blockchair.com/bitcoin-sv/stats
https://api.blockchair.com/dogecoin/stats
https://api.blockchair.com/dash/stats
https://api.blockchair.com/groestlcoin/stats
https://api.blockchair.com/zcash/stats
https://api.blockchair.com/ecash/stats
https://api.blockchair.com/bitcoin/testnet/stats
Output:
data contains an array with blockchain statistics:
blocks — total number of blocks (note that it's 1 more than the latest block number as there is block #0)
transactions — total number of transactions
outputs — total number of outputs (including spent)
circulation — number of coins in circulation (in satoshi)
blockchain_size — total size of all blocks in bytes (note: it's not the size of a full node, it's just bare blocks; nodes are bigger in size as they use database indexing, etc)
nodes— number of full network nodes (it's an approximate number and actually not a blockchain metric)
difficulty — current mining difficulty
hashrate_24h — approximated hashrate over the last 24 hours (returned as a string as it doesn't fit into an integer)
next_retarget_time_estimate — approximate timestamp of the next difficulty retarget (this field is available for Bitcoin and Litecoin only)
next_difficulty_estimate — approximate next difficulty value (this field is available for Bitcoin and Litecoin only)
best_block_height — the latest block height
best_block_hash — the latest block hash
best_block_time — the latest block time
mempool_transactions — number of transactions in the mempool
mempool_outputs — number of outputs in the mempool
mempool_size — mempool size in bytes
mempool_tps — number of transactions per second added to the mempool
mempool_total_fee_usd — sum of transaction fees in the mempool, in USD
blocks_24h — number of blocks mined over the last 24 hours
transactions_24h — number of transactions confirmed over the last 24 hours
volume_24h — total monetary volume of transactions over the last 24 hours
average_transaction_fee_24h — average transaction fee over the last 24 hours
average_transaction_fee_usd_24h — the same in USD
median_transaction_fee_24h— median transaction fee over the last 24 hours
median_transaction_fee_usd_24h — the same in USD
inflation_24h— number of new coins mined over the last 24 hours (in satoshi), this can be considered as the daily inflation
inflation_usd_24h — the same in USD
cdd_24h— total coindays destroyed over the last 24 hours
largest_transaction_24h — array of hash and value_usd — biggest payment over the last 24 hours
market_price_usd — average market price of 1 coin in USD (market data source: CoinGecko)
market_price_btc — average market price of 1 coin in BTC (for Bitcoin it always returns 1)
market_price_usd_change_24h_percentage — market price change in percent for 24 hours
market_cap_usd — market capitalization (coins in circulation * price per coin in USD)
market_dominance_percentage — dominance index (how much % of the total cryptocurrency market is the market capitalization of the coin)
countdowns (optional) — an optional array of events ([event, time_left] format), where time_left is the number of seconds till the event
suggested_transaction_fee_per_byte_sat — suggests a proper transaction fee in satoshi per byte based on the latest block
hodling_addresses — the total number of addresses with positive balance
Example output:
https://api.blockchair.com/bitcoin/stats:
{
"data": {
"blocks": 690165,
"transactions": 654248075,
"outputs": 1776138129,
"circulation": 1875100229497096,
"blocks_24h": 130,
"transactions_24h": 229726,
"difficulty": 14363025673660,
"volume_24h": 187713267560047,
"mempool_transactions": 6591,
"mempool_outputs": 16532,
"mempool_size": 5076549,
"mempool_tps": 5.416666666666667,
"mempool_total_fee_usd": 14219.1005,
"best_block_height": 690164,
"best_block_hash": "000000000000000000023fcb3703bf89ddbfc1ef5109f21c2387a9d630b78c6e",
"best_block_time": "2021-07-08 14:37:00",
"blockchain_size": 353767186147,
"average_transaction_fee_24h": 14421,
"inflation_24h": 81250000000,
"median_transaction_fee_24h": 5269,
"cdd_24h": 3696149.5996842394,
"mempool_outputs": 44316,
"largest_transaction_24h": {
"hash": "7a83c11f42dadad1c6916cceb079835aa09ed70127dba7cdf15aa904277c907d",
"value_usd": 773548352
},
"nodes": 8502,
"hashrate_24h": "92904707138521187685",
"inflation_usd_24h": 26587437.5,
"average_transaction_fee_usd_24h": 4.719001232335435,
"median_transaction_fee_usd_24h": 1.724338485,
"market_price_usd": 32723,
"market_price_btc": 1,
"market_price_usd_change_24h_percentage": -5.7534,
"market_cap_usd": 613578128025,
"market_dominance_percentage": 43.03,
"next_retarget_time_estimate": "2021-07-18 19:23:20",
"next_difficulty_estimate": 17958208674260,
"countdowns": [],
"suggested_transaction_fee_per_byte_sat": 17,
"hodling_addresses": 38343147
},
"context": {
"code": 200,
...
}
}
Always 1.
Explore visualizations on our front-end:
https://blockchair.com/
https://blockchair.com/compare
Explorers
Bitcoin
Ethereum
Litecoin
Cardano
Ripple
Polkadot
Dogecoin
Solana new
Bitcoin Cash
Stellar
Monero
EOS
Kusama
Bitcoin SV
eCash
Zcash
Dash
Mixin
Groestlcoin
Tether USD
USD Coin
Binance USD
Data
API
Database dumps
Full node dumps
Charts
Services
Blockchair News
Blockchair Donut
Blockchair Awesome
Products
Transaction receipts
Wallet statements
Portfolio tracker
Broadcast transaction
Privacy-o-meter
Node explorers
Release monitor
Halving countdown
Compare blockchains
Get Blockchair extension
Useful links
About Blockchair
FAQ
Changelog
Careers
Terms of service
Privacy policy
Blockchair Onion v3 URL
Blockchair Onion v2 URL
For partners
Partnerships
Advertise with us
Brand kit
For developers
Submit a bug or request
Bug bounty program
API documentation
Status
Social
Twitter
Telegram
GitHub
LinkedIn
Languages
English
Español
Français
Italiano
Nederlands
Português
Русский
中文
فارسی
Вahasa Indonesia
Türkçe
日本語
한국어
Deutsch
© 2021 Blockchair
Footer Blockchair logoNo 3d party trackers
Works without javascript
1.010-3049-g4e40c42b Thu Feb 3 12:14:18 UTC 2022

View File

@@ -27,11 +27,15 @@ inputs:
description: 'Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc. Supports wildcards or a list of file names for caching multiple dependencies.'
# TODO: add input to control forcing to pull from cloud or dist.
# escape valve for someone having issues or needing the absolute latest which isn't cached yet
# Deprecated option, do not use. Will not be supported after October 1, 2019
version:
description: 'Deprecated. Use node-version instead. Will not be supported after October 1, 2019'
deprecationMessage: 'The version property will not be supported after October 1, 2019. Use node-version instead'
outputs:
cache-hit:
description: 'A boolean value to indicate if a cache was hit'
runs:
using: 'node16'
using: 'node12'
main: 'dist/setup/index.js'
post: 'dist/cache-save/index.js'
post-if: success()
post-if: success()

2265
dist/cache-save/index.js vendored

File diff suppressed because one or more lines are too long

3302
dist/setup/index.js vendored

File diff suppressed because one or more lines are too long

5146
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -35,7 +35,7 @@
},
"devDependencies": {
"@types/jest": "^27.0.2",
"@types/node": "^16.11.25",
"@types/node": "^12.0.4",
"@types/semver": "^6.0.0",
"@zeit/ncc": "^0.21.0",
"jest": "^27.2.5",

View File

@@ -74,7 +74,7 @@ function isGhes(): boolean {
}
function resolveVersionInput(): string {
let version = core.getInput('node-version');
let version = core.getInput('node-version') || core.getInput('version');
const versionFileInput = core.getInput('node-version-file');
if (version && versionFileInput) {