Skip to content

Commit

Permalink
fixed make file
Browse files Browse the repository at this point in the history
  • Loading branch information
dan13ram committed Aug 27, 2024
1 parent c2dd3fb commit d0f3d85
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ verify-roles :; forge script script/Verify.s.sol --rpc-url ${rpc}
# then import the private key with which you wish to deploy, create a password and add the public address of that key to the .env under DEPLOYER_ADDRESS.

# make ynEigen path=script/ynEigen/input/lsd-mainnet.json rpc=https://mainnet.infura.io/v3/your-key deployer=0xYourPublicAddressThatCorrespondsToYourSavedPrivateKeyInyieldnestDeployerKey api=etherscanApiKey
ynEigen :; forge script script/ynEigen/YnEigenScript.s.sol:YnEigenScript --rpc-url ${rpc} --sig "run(string)" ${path} --account yieldnestDeployerKey --sender ${deployer} --broadcast --etherscan-api-key ${api} --verify
deployerAccountName = "yieldnestDeployerKey"
ynEigen :; forge script script/ynEigen/YnEigenScript.s.sol:YnEigenScript --rpc-url ${rpc} --sig "run(string)" ${path} --account ${deployerAccountName} --sender ${deployer} --broadcast --etherscan-api-key ${api} --verify

# make ynEignen-verify path=script/ynEigen/input/lsd-mainnet.json rpc=https://mainnet.infura.io/v3/your-key
ynEignen-verify :; forge script script/ynEigen/YnEigenScript.s.sol:YnEigenScript --rpc-url ${rpc} --sig "verify(string)" ${path} --broadcast
# make ynEigen-verify path=script/ynEigen/input/lsd-mainnet.json rpc=https://mainnet.infura.io/v3/your-key
ynEigen-verify :; forge script script/ynEigen/YnEigenScript.s.sol:YnEigenScript --rpc-url ${rpc} --sig "verify(string)" ${path} --broadcast

# alternative bash script with less inputs
# make ynEigen-bash path=script/ynEigen/input/lsd-mainnet.json
ynEigen-bash :; ./script/ynEigen/bash/deployYnEigen.sh ${path}

0 comments on commit d0f3d85

Please sign in to comment.