Skip to content

Commit 4073707

Browse files
committed
Set up local node's account private key
Signed-off-by: Luis Mastrangelo <luis@swirldslabs.com>
1 parent 1354974 commit 4073707

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,10 @@ jobs:
386386
run: forge build
387387
working-directory: examples/foundry-hts
388388

389+
- name: Set up Local Node's account Private Key
390+
run: echo "PRIVATE_KEY=0x105d050185ccb907fba04dd92d8de9e32c18305e097ab41dadda21489a211524" > .env
391+
working-directory: examples/foundry-hts
392+
389393
- name: Run Foundry script on local node
390394
run: forge script scripts/CreateToken.s.sol -vvv --rpc-url localnode --skip-simulation --broadcast
391395
working-directory: examples/foundry-hts

examples/foundry-hts/.env.template

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
21
PRIVATE_KEY=<Your HEX Encoded ECDSA Private Key>

0 commit comments

Comments
 (0)