Cli
tevm-run
A very thin bun run
wrapper that loads the tevm bundler.
Requirements
tevm-run requires only a bun installation
Usage
To use create a script in js or ts and run bunx tevm-run
Features
- Requires no configs to use
- Automatically loads tevm compiler
- Supports
tevm.config.json
andremappings.txt
in cwd - autoinstalls any node modules in the script
- Works on both ts and js files
Example
- Important network imports are still under development and should be available next release.
We can very quickly create a script using tevm bundler to import solidity or network scripts
To run our script we just use bunx
tevm-gen
Uses the tevm compiler to generate .d.ts
and .mjs
files.
Requirements
Requires either tevm
or @tevm/ts-plugin
to be installed either in node_modules or globally.
Usage
Features
- tevm-gen is pretty minimal with regard to features and meant to just be used as a simple tool to generate ts from solidity.
- For advanced use cases it’s recomdended to use the
@tevm/bundler
package or utilize the generated files in the .tevm cache for any repo set up with the tevm compiler.