Skip to content

Commit

Permalink
add fund-wallet test
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Oct 31, 2024
1 parent 807cddd commit 735d0cc
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions playbooks/dev/fund-wallet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
id: fund-wallet
name: "Send funds to a wallet"
timeout: 12h
config:
targetAddress: "0x000000000000000000000000000000000000dEaD"
amount: "1000000000000000000" # 1 ETH
walletPrivkey: ""
tasks:
- name: check_clients_are_healthy
title: "Check if at least one client is ready"
timeout: 5m
config:
minClientCount: 1

- name: generate_transaction
title: "Send funds to the target address"
config:
feeCap: 5000000000 # 5 gwei
gasLimit: 100000
awaitReceipt: true
configVars:
privateKey: "walletPrivkey"
targetAddress: "targetAddress"
amount: "amount"

0 comments on commit 735d0cc

Please sign in to comment.