-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add just commands for evm transaction data (#12)
Co-authored-by: Jordan Oroshiba <[email protected]> Co-authored-by: Jordan Oroshiba <[email protected]>
- Loading branch information
1 parent
ba50b71
commit 64ca972
Showing
5 changed files
with
43 additions
and
12 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
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
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
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,16 @@ | ||
default: | ||
@just --list | ||
|
||
set dotenv-load | ||
set fallback | ||
|
||
defaultRollupName := "" | ||
defaultNetworkId := "" | ||
defaultPrivateKey := "" | ||
generate-transactions rollupName=defaultRollupName networkId=defaultNetworkId privateKey=defaultPrivateKey: | ||
forge script script/DeployAndCallERC20.s.sol:DeployAndCallERC20 \ | ||
--optimizer-runs 2 \ | ||
--private-key {{ if privateKey == '' { env_var('PRIVATE_KEY') } else { privateKey } }} \ | ||
--rpc-url {{ if rollupName == '' { env_var('JSON_RPC') } else { replace('http://executor.#.localdev.me', '#', rollupName) } }} \ | ||
--chain-id {{ if networkId == '' { env_var('CHAIN_ID') } else { networkId } }} \ | ||
--broadcast --skip-simulation -vvvvv |
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,12 @@ | ||
default: | ||
@just --list | ||
|
||
set dotenv-load | ||
set fallback | ||
|
||
defaultRollupName := "" | ||
defaultPrivateKey := "" | ||
create-weth9 rollupName=defaultRollupName privateKey=defaultPrivateKey: | ||
forge create src/Weth9.sol:WETH9 \ | ||
--private-key {{ if privateKey == '' { env_var('PRIVATE_KEY') } else { privateKey } }} \ | ||
--rpc-url {{ if rollupName == '' { env_var('JSON_RPC') } else { replace('http://executor.#.localdev.me', '#', rollupName) } }} |