-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
multi-chain-scripts initial setup (#111)
* multi-chain-scripts initial setup * chore: clean up hardhat config
- Loading branch information
Showing
3 changed files
with
33 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
# Check if the command line argument is provided | ||
if [ $# -eq 0 ]; then | ||
echo "Please provide a command argument." | ||
exit 1 | ||
fi | ||
|
||
# Assign the command line argument to a variable | ||
command=$1 | ||
extra_args="${@:2}" | ||
|
||
HARDHAT_NETWORK=base dlc-link-eth $command $extra_args | ||
HARDHAT_NETWORK=arbitrum dlc-link-eth $command $extra_args | ||
HARDHAT_NETWORK=mainnet dlc-link-eth $command $extra_args |
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