-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
root = true | ||
|
||
[*.{yml,yaml,js,mjs,cjs,ts,mts,cts,json,json5,sql,md,html,hbs,ejs,njk}] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
tab_width = 2 | ||
indent_style = tab | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v22.9.0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
./build | ||
./src/**/generated | ||
./src/**/*.generated.* |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"arrowParens": "avoid", | ||
"bracketSameLine": true, | ||
"bracketSpacing": false, | ||
"endOfLine": "lf", | ||
"printWidth": 120, | ||
"semi": false, | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"useTabs": true, | ||
"trailingComma": "all" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Attach by Process ID", | ||
"processId": "${command:PickProcess}", | ||
"request": "attach", | ||
"continueOnAttach": true, | ||
"restart": true, | ||
"skipFiles": [ | ||
"<node_internals>/**" | ||
], | ||
"type": "node", | ||
} | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"[typescript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
}, | ||
"[javascript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
}, | ||
"[typescriptreact]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
}, | ||
"[javascriptreact]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
}, | ||
"[json]": { | ||
"editor.quickSuggestions": { | ||
"strings": true | ||
}, | ||
"editor.suggest.insertMode": "replace" | ||
}, | ||
"[json5]": { | ||
"editor.quickSuggestions": { | ||
"strings": true | ||
}, | ||
"editor.suggest.insertMode": "replace" | ||
}, | ||
"files.associations": { | ||
"*.ejs": "html", | ||
"*.njk": "html", | ||
"*.hbs": "handlebars", | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
# EIP-7702 | ||
|
||
Examples for EIP-7702 Transactions | ||
|
||
Since some of the libraries are no publicly released you have to clone | ||
https://github.com/ethereumjs/ethereumjs-monorepo/tree/master | ||
locally and build it, then refrence it in the package.json |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// SPDX-License-Identifier: GPL-3.0 | ||
|
||
pragma solidity >=0.7.0 <0.9.0; | ||
|
||
contract SimpleTest { | ||
event Deposit(address indexed _from, bytes32 indexed _id, uint _value); | ||
|
||
function doAnEvent() public { | ||
emit Deposit(address(this), blockhash(block.number), block.number); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"dev": "pnpm clean && pnpm build && concurrently -n \"build,run\" \"pnpm build:watch\" \"pnpm start:watch\"", | ||
"start": "node --env-file ./.env --enable-source-maps --disable-proto=throw --disallow-code-generation-from-strings ./build/main.js", | ||
"start:watch": "nodemon --delay 0.1 -w ./build -w ./views ./queries -w ./.env -w ./package.json -e .js,.mjs,.cts,.json,.sql,.html,.hbs,.ejs,.njk -x \"pnpm start\"", | ||
"build": "tsc -p ./tsconfig.json", | ||
"build:watch": "pnpm build --watch --preserveWatchOutput", | ||
"clean": "rimraf ./build" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^22.7.4", | ||
"concurrently": "^9.0.1", | ||
"nodemon": "^3.1.7", | ||
"prettier": "^3.3.3", | ||
"rimraf": "^6.0.1", | ||
"typescript": "^5.6.2" | ||
}, | ||
"dependencies": { | ||
"@ethereumjs/common": "link:../ethereumjs-monorepo/packages/common", | ||
"@ethereumjs/tx": "link:../ethereumjs-monorepo/packages/tx", | ||
"@ethereumjs/util": "link:../ethereumjs-monorepo/packages/util", | ||
"ethers": "^6.13.3", | ||
"pino": "^9.4.0", | ||
"pino-pretty": "^11.2.2", | ||
"tslib": "^2.7.0" | ||
} | ||
} |