-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
fix(synthesizer): example env and finalize for new path
1 parent
674fca8
commit 1d3b3d6
Showing
173 changed files
with
26,494 additions
and
995 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<!doctype html> | ||
<html> | ||
|
||
<head> | ||
<title>EthereumJS Browser Examples</title> | ||
<script src="./runCode.ts" type="module"></script> | ||
</head> | ||
|
||
<body style="padding:50px; font-family: Arial, Helvetica, sans-serif;"> | ||
<h1>EVM | @ethereumjs/evm</h1> | ||
Basic usage of this library in the browser (using <a href="https://github.com/vitejs/vite" target="_blank">Vite</a>) | ||
|
||
<h3>Run the Example</h3> | ||
<ol> | ||
<li>Go to the library root directory (packages/[LIBRARY_NAME]/)</li> | ||
<li>Build "dist" folder with: npm run build</li> | ||
<li>Start Vite development server with: npx vite</li> | ||
<li>Open the example URL in the browser (http://localhost:5173/examples/browser.html)</li> | ||
<li>Open the development console (e.g. Chrome Developer Tools)</li> | ||
<li>See example results and play with the code</li> | ||
</ol> | ||
|
||
<h3>Interactive CLI</h3> | ||
<ol> | ||
<li>Open the "Sources" or "Debugger" tab in the browser development console</li> | ||
<li>Eventually reload the page, set a breakpoint within the referenced TypeScript .ts file</li> | ||
<li>Now you can use the debugger and play with and change the imported EthereumJS code</li> | ||
</ol> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"extends": "../../config/.c8rc.json", | ||
"include": ["src/**/*.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module.exports = { | ||
extends: '../../config/eslint.cjs', | ||
parserOptions: { | ||
project: ['./tsconfig.lint.json'], | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['benchmarks/*.ts', 'examples/**/*'], | ||
rules: { | ||
'no-console': 'off', | ||
}, | ||
}, | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
benchmarks/*.js | ||
MY_TRIE_DB_LOCATION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "test/jsonTests"] | ||
path = test/jsonTests | ||
url = https://github.com/ethereum/tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
test/ | ||
src/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
node_modules | ||
.vscode | ||
dist | ||
.nyc_output | ||
*.json | ||
docs |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.