Skip to content

Commit

Permalink
Merge pull request #91 from shazow/improve-auto
Browse files Browse the repository at this point in the history
auto: Add addressResolver config
  • Loading branch information
shazow authored Jun 14, 2024
2 parents 45e055c + b965607 commit 562eae2
Show file tree
Hide file tree
Showing 8 changed files with 288 additions and 237 deletions.
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
export INFURA_API_KEY="..."
export ETHERSCAN_API_KEY="..."
export PROVIDER="ethers" # or "viem"

# Use an arbitrary JSON RPC endpoint instead:
#export PROVIDER_RPC_URL="https://ethereum-rpc.publicnode.com"
2 changes: 1 addition & 1 deletion .size-limit.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ module.exports = [
{
path: "lib.cjs/index.js",
import: "{ whatsabi }",
limit: "160 kb"
limit: "165 kb"
}
]
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shazow/whatsabi",
"version": "0.11.0",
"version": "0.12.0",
"description": "Guess an ABI from Ethereum bytecode, even if it's unverified",
"type": "module",
"scripts": {
Expand Down Expand Up @@ -36,7 +36,7 @@
},
"homepage": "https://github.com/shazow/whatsabi#readme",
"dependencies": {
"ethers": "^6.10.0"
"ethers": "^6.13.0"
},
"peerDependencies": {
"@noble/hashes": "^1"
Expand All @@ -45,7 +45,7 @@
"@size-limit/esbuild-why": "^8.2.6",
"@size-limit/preset-small-lib": "^8.2.6",
"size-limit": "^8.2.6",
"tsx": "^4.7.0",
"tsx": "^4.12.0",
"viem": "^1.21.4",
"vitest": "^0.34.6"
},
Expand Down
Loading

0 comments on commit 562eae2

Please sign in to comment.