Skip to content

Commit

Permalink
add-playbook-script (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
peersky authored Dec 17, 2024
1 parent 60f217b commit aad52fd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/cool-cougars-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@peeramid-labs/eds": patch
---

added playbook script for running deployments locally
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -276,4 +276,5 @@ types

abi/
.secrets/
docs/contracts
docs/contracts
deployments/localhost
8 changes: 8 additions & 0 deletions playbook/utils/deploy-to-local-anvil.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#! /bin/bash

# Uncomment playbook import in hardhat.config.ts
sed -i '' 's|// import '\''./playbook'\''|import '\''./playbook'\''|' ./hardhat.config.ts

rm -rf ./deployments/localhost
export NODE_ENV=TEST
pnpm hardhat deploy --tags code_index --network localhost

0 comments on commit aad52fd

Please sign in to comment.