-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: enable both roles local chain node and contracts deploy side j…
…ob (#249)
- Loading branch information
Иван Vandot
authored
Apr 12, 2024
1 parent
2c95699
commit 900b367
Showing
2 changed files
with
13 additions
and
2 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,13 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -x | ||
while ! curl -m 1 http://geth-swap:8545; do sleep 1; done | ||
echo connected to geth >&2 | ||
sleep 2 | ||
|
||
npx hardhat deploy --network localcluster | ||
|
||
cd ./s3 | ||
npx hardhat deploy --network localcluster | ||
|
||
echo deployed |