Skip to content

Commit

Permalink
version 2: fix deps & update readme (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xSulpiride authored Apr 15, 2024
1 parent 6880716 commit dd7db4d
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 25 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ Or follow the steps below:
## 📜 Additional features
- [x] Unsafe mode - bypass opcode & stake validation
- [x] Redirect RPC - Redirect ETH rpc calls to the underlying execution client. This is needed if you use UserOp.js
- [x] P2P - Exchange of UserOps between all the nodes in the network. Heavily inspired by the Lodestar's implementation of p2p (https://github.com/ChainSafe/lodestar/)

### ⚡️ CLI Options
- `--unsafeMode` - enables unsafeMode
Expand All @@ -71,7 +70,7 @@ Or follow the steps below:
```yaml
{
"entryPoints": [
"0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"
"0x0000000071727De22E5E9d8BAf0edAc6f37da032"
],
"relayer": "0x{RELAYER-PRIVATE-KEY}",
"beneficiary": "0x{BENEFICIARY-ADDRESS}",
Expand All @@ -84,7 +83,7 @@ Or follow the steps below:
```yaml
{
"entryPoints": [ # supported entry points
"0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"
"0x0000000071727De22E5E9d8BAf0edAc6f37da032"
],
"relayers": [
"0x0101010101010101010101010101010101010101010101010101010101010101",
Expand Down Expand Up @@ -135,9 +134,9 @@ Licensed under the [MIT License](https://github.com/etherspot/skandha/blob/maste

## 🤝 Shared Mempool (P2P)

- Sepolia | QmdDwVFoEEcgv5qnaTB8ncnXGMnqrhnA5nYpRr4ouWe4AT | https://ipfs.io/ipfs/QmdDwVFoEEcgv5qnaTB8ncnXGMnqrhnA5nYpRr4ouWe4AT?filename=sepolia_canonical_mempool.yaml
- Mumbai | QmQfRyE9iVTBqZ17hPSP4tuMzaez83Y5wD874ymyRtj9VE | https://ipfs.io/ipfs/QmQfRyE9iVTBqZ17hPSP4tuMzaez83Y5wD874ymyRtj9VE?filename=mumbai_canonical_mempool.yaml
- Goerli | QmTmj4cizhWpEFCCqk5dP67yws7R2PPgCtb2bd2RgVPCbF | https://ipfs.io/ipfs/QmTmj4cizhWpEFCCqk5dP67yws7R2PPgCtb2bd2RgVPCbF?filename=goerli_canonical_mempool.yaml
> [!WARNING]
> This version of the bundler only supports Entry Point v7, which does not have the p2p mempool yet.

## 🔢 Statistics
![Alt](https://repobeats.axiom.co/api/embed/4d7ec3ece88b2461c5b1757574321f4f6540cdd5.svg "Skandha analytics image")
Expand Down
2 changes: 1 addition & 1 deletion config.json.default
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"entryPoints": [
"0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"
"0x9b5d240EF1bc8B4930346599cDDFfBD7d7D56db9"
],
"relayers": [
"test test test test test test test test test test test junk",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"dependencies": {
"@fastify/cors": "8.2.1",
"class-transformer": "0.5.1",
"class-validator": "0.14.0",
"class-validator": "0.14.1",
"ethers": "5.7.2",
"executor": "^2.0.0",
"fastify": "4.14.1",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "ES2019",
"lib": ["es2020", "esnext.bigint", "es2020.string", "es2020.symbol.wellknown", "dom"],
"lib": ["es2020", "esnext.bigint", "es2020.string", "es2020.symbol.wellknown", "dom", "ES2022", "ES2022.Error"],

"module": "esnext",
"moduleResolution": "node",
Expand Down
32 changes: 16 additions & 16 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3462,10 +3462,10 @@
resolved "https://registry.yarnpkg.com/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.5.tgz#5fd3592ff10c1e9695d377020c033116cc2889f2"
integrity sha512-mQkU2jY8jJEF7YHjHvsQO8+3ughTL1mcnn96igfhONmR+fUPSKIkefQYpSe8bsly2Ep7oQbn/6VG5/9/0qcArQ==

"@types/validator@^13.7.10":
version "13.11.2"
resolved "https://registry.yarnpkg.com/@types/validator/-/validator-13.11.2.tgz#a2502325a3c0bd29f36dbac3b763223edd801e17"
integrity sha512-nIKVVQKT6kGKysnNt+xLobr+pFJNssJRi2s034wgWeFBUx01fI8BeHTW2TcRp7VcFu9QCYG8IlChTuovcm0oKQ==
"@types/validator@^13.11.8":
version "13.11.9"
resolved "https://registry.yarnpkg.com/@types/validator/-/validator-13.11.9.tgz#adfe96520b437a0eaa798a475877bf2f75ee402d"
integrity sha512-FCTsikRozryfayPuiI46QzH3fnrOoctTjvOYZkho9BTFLCOZ2rgZJHMOVgCOfttjPJcgOx52EpkY0CMfy87MIw==

"@types/[email protected]":
version "6.0.1"
Expand Down Expand Up @@ -4426,14 +4426,14 @@ [email protected]:
resolved "https://registry.yarnpkg.com/class-transformer/-/class-transformer-0.5.1.tgz#24147d5dffd2a6cea930a3250a677addf96ab336"
integrity sha512-SQa1Ws6hUbfC98vKGxZH3KFY0Y1lm5Zm0SY8XX9zbK7FJCyVEac3ATW0RIpwzW+oOfmHE5PMPufDG9hCfoEOMw==

[email protected].0:
version "0.14.0"
resolved "https://registry.yarnpkg.com/class-validator/-/class-validator-0.14.0.tgz#40ed0ecf3c83b2a8a6a320f4edb607be0f0df159"
integrity sha512-ct3ltplN8I9fOwUd8GrP8UQixwff129BkEtuWDKL5W45cQuLd19xqmTLu5ge78YDm/fdje6FMt0hGOhl0lii3A==
[email protected].1:
version "0.14.1"
resolved "https://registry.yarnpkg.com/class-validator/-/class-validator-0.14.1.tgz#ff2411ed8134e9d76acfeb14872884448be98110"
integrity sha512-2VEG9JICxIqTpoK1eMzZqaV+u/EiwEJkMGzTrZf6sU/fwsnOITVgYJ8yojSy6CaXtO9V0Cc6ZQZ8h8m4UBuLwQ==
dependencies:
"@types/validator" "^13.7.10"
libphonenumber-js "^1.10.14"
validator "^13.7.0"
"@types/validator" "^13.11.8"
libphonenumber-js "^1.10.53"
validator "^13.9.0"

clean-stack@^2.0.0:
version "2.2.0"
Expand Down Expand Up @@ -7291,10 +7291,10 @@ [email protected]:
wherearewe "^2.0.0"
xsalsa20 "^1.1.0"

libphonenumber-js@^1.10.14:
version "1.10.44"
resolved "https://registry.yarnpkg.com/libphonenumber-js/-/libphonenumber-js-1.10.44.tgz#6709722461173e744190494aaaec9c1c690d8ca8"
integrity sha512-svlRdNBI5WgBjRC20GrCfbFiclbF0Cx+sCcQob/C1r57nsoq0xg8r65QbTyVyweQIlB33P+Uahyho6EMYgcOyQ==
libphonenumber-js@^1.10.53:
version "1.10.60"
resolved "https://registry.yarnpkg.com/libphonenumber-js/-/libphonenumber-js-1.10.60.tgz#1160ec5b390d46345032aa52be7ffa7a1950214b"
integrity sha512-Ctgq2lXUpEJo5j1762NOzl2xo7z7pqmVWYai0p07LvAkQ32tbPv3wb+tcUeHEiXhKU5buM4H9MXsXo6OlM6C2g==

light-my-request@^5.6.1:
version "5.11.0"
Expand Down Expand Up @@ -10339,7 +10339,7 @@ validate-npm-package-name@^4.0.0:
dependencies:
builtins "^5.0.0"

validator@^13.7.0:
validator@^13.9.0:
version "13.11.0"
resolved "https://registry.yarnpkg.com/validator/-/validator-13.11.0.tgz#23ab3fd59290c61248364eabf4067f04955fbb1b"
integrity sha512-Ii+sehpSfZy+At5nPdnyMhx78fEoPDkR2XW/zimHEL3MyGJQOCQ7WeP20jPYRz7ZCpcKLB21NxuXHF3bxjStBQ==
Expand Down

0 comments on commit dd7db4d

Please sign in to comment.