-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblocks.json
More file actions
138 lines (138 loc) · 3.58 KB
/
Copy pathblocks.json
File metadata and controls
138 lines (138 loc) · 3.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"$schema": "https://raw.githubusercontent.com/Blockchains/.github/main/docs/blocks.schema.json",
"schema_version": "1.0",
"name": "blockchainlab-tools",
"repo": "Blockchains/blockchainlab-tools",
"summary": "26 client-side blockchain developer tools (gas, units, ABI, tx decoder, ENS, storage slots, Merkle, Safe, EIP-712, approvals, MEV, Solana, PSBT...) as static pages with deep links, plus the shared ES-module logic (`assets/core.js`, `assets/core2.js`) usable from Node or the browser.",
"kind": [
"web-app",
"library"
],
"stability": "stable",
"license": "MIT",
"homepage": "https://blockchains.github.io/blockchainlab-tools/",
"entrypoints": [
{
"type": "web",
"name": "tool deep links",
"ref": "https://blockchains.github.io/blockchainlab-tools/<tool>/",
"usage": "https://blockchains.github.io/blockchainlab-tools/tx/?chain=base&hash=0x…"
},
{
"type": "file",
"name": "assets/core.js",
"ref": "assets/core.js",
"usage": "git clone + npm install, then import * as C from './assets/core.js'",
"exports": [
"convertUnits",
"selector",
"topic",
"encodeCall",
"decodeCalldata",
"decodeTx",
"evmFees",
"btcFees",
"solFees",
"resolveEns",
"reverseEns",
"addressInfo",
"erc20Meta",
"readSlot",
"mappingSlot",
"erc7201Slot",
"merkleStandard",
"merkleSimple",
"hashes",
"dataset",
"CHAINS"
]
},
{
"type": "file",
"name": "assets/core2.js",
"ref": "assets/core2.js",
"exports": [
"multicall",
"safeTxHash",
"safeInfo",
"decodeSafeCalldata",
"typedDataHash",
"recoverTypedData",
"erc1271",
"calldataDiff",
"verification",
"gasHistory",
"bridgeQuotes",
"approvals",
"ensBulk",
"decodeSolTx",
"decodePSBT",
"addressLabels",
"priceImpact",
"sandwichCheck",
"stablecoins",
"rpcHealth",
"create2Address"
]
}
],
"inputs": [
{
"name": "query params",
"type": "URL",
"description": "chain, hash, address/q, data, v/u depending on the tool"
},
{
"name": "function args",
"type": "JS",
"description": "addresses, hashes, calldata, chain keys"
}
],
"outputs": [
{
"name": "rendered tool page",
"type": "HTML"
},
{
"name": "JS results",
"type": "objects",
"description": "decoded calls, fees in wei/USD, slots, hashes"
}
],
"deps": [
"browser (ES modules + import map)",
"node>=18 with ethers 6.13.4 and @openzeppelin/merkle-tree for Node use"
],
"compatible_with": [
{
"repo": "Blockchains/blockchainlab-mcp",
"how": "the MCP server wraps the same logic as agent tools"
},
{
"repo": "Blockchains/blockchainlab-lens",
"how": "the extension opens these pages for explorer tx/address URLs"
},
{
"repo": "Blockchains/blockchainlab-api",
"how": "chains and EIP/ERC/BIP reference data"
},
{
"repo": "Blockchains/blockchain-dev-roadmap",
"how": "roadmap stages link to the tools"
},
{
"repo": "Blockchains/blockchains.github.io",
"how": "listed on the hub"
}
],
"tests": {
"command": "npm install && npm test",
"ci": ".github/workflows/live-tests.yml",
"network": true
},
"docs": {
"readme": "README.md",
"agents": "AGENTS.md",
"llms": "llms.txt"
}
}