Skip to content

Commit

Permalink
feat: add more tenderly supported chains (#2)
Browse files Browse the repository at this point in the history
* feat: add IMX support

* lint based on new rules
  • Loading branch information
maxklenk authored Oct 11, 2024
1 parent d5176ad commit c747452
Show file tree
Hide file tree
Showing 7 changed files with 1,167 additions and 988 deletions.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

## Tenderly simulations
This package makes it easier to interact with Tenderly API for simulating transactions.
It exposes functions to gather transaction information, simulate transactions and apply overrides such as
Expand Down Expand Up @@ -133,3 +132,16 @@ which results in the following response:
}
```

### Development

#### Update supported Chains

The supported chains have to be matched between the chains [Tenderly supports](https://docs.tenderly.co/supported-networks) and the chain [LI.FI has types](https://github.com/lifinance/types/blob/main/src/chains/base.ts) for.

- Run `pnpm update` to load the newest types version of LI.FI.

- Visit the [Tenderly docs](https://docs.tenderly.co/supported-networks) to see what chains were added

- Add new chains in [./src/tenderly/tenderly.config.ts](./src/tenderly/tenderly.config.ts)

- Push changes as a PR for review
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,39 +33,39 @@
"node": ">=20"
},
"devDependencies": {
"@swc/jest": "^0.2.29",
"@types/jest": "^29.5.11",
"@types/node": "^20.11.0",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"eslint": "^8.56.0",
"@swc/jest": "^0.2.36",
"@types/jest": "^29.5.13",
"@types/node": "^20.16.11",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.6.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jest-formatting": "^3.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-unused-imports": "^3.0.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-unused-imports": "^3.2.0",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"jest-mock-extended": "^3.0.5",
"jest-mock-extended": "^3.0.7",
"madge": "^6.1.0",
"prettier": "^3.1.1",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^3.2.4",
"ts-jest": "^29.1.1",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "5.3.3"
},
"packageManager": "[email protected]",
"dependencies": {
"@lifi/types": "^15.2.0",
"@lifi/types": "^15.16.1",
"@types/memoizee": "^0.4.11",
"axios": "^1.7.3",
"ethers": "^6.13.2",
"axios": "^1.7.7",
"ethers": "^6.13.3",
"memoizee": "^0.4.17",
"pino": "^9.3.2",
"resolve-tspaths": "^0.8.19",
"pino": "^9.4.0",
"resolve-tspaths": "^0.8.22",
"tsconfig-paths": "^4.2.0"
}
}
Loading

0 comments on commit c747452

Please sign in to comment.