Skip to content

Commit

Permalink
deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
hujw77 committed Feb 6, 2024
1 parent 36069d3 commit 0e58237
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ all :; source .env.local && dapp --use solc:0.5.16 build
flat :; source .env.local && dapp --use solc:0.5.16 flat
clean :; dapp clean
test :; dapp test
deploy :; dapp create Staker

.PHONY: all flat clean test
salt :; @create3 -s 00000000000000
deploy :; @bash ./bin/deploy.sh $(chain)

.PHONY: all flat clean test salt deploy
4 changes: 2 additions & 2 deletions bin/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
set -eo pipefail

chain=${1:?}
addr=0x000000000f681D85374225EdEeADC25560C1fb3F
salt=0xa4390aa887eb9fe9ed94283ed393bbfeb0b301e904fac48ba5d3c176f41851c1
addr=0x004873d8BA419DE183c0219456D515aEd89241b3
salt=0x90ec0e33b05c6c547ab8b9864b3104c2438c6ef55ed50fc6799b663420b585b1
c3=0x0000000000C76fe1798a428F60b27c6724e03408
deployer=0x0f14341A7f464320319025540E8Fe48Ad0fe5aec

Expand Down

0 comments on commit 0e58237

Please sign in to comment.