File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed
Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change 11name : ' Safe Transaction Proposer'
2-
32on :
43 workflow_call :
54 inputs :
6- proposer-private-key :
7- description : ' Private key of the proposer wallet'
8- required : true
9- type : string
105 rpc-url :
116 description : ' RPC URL for the blockchain network'
127 required : true
1914 description : ' Target address for the transaction'
2015 required : true
2116 type : string
22- safe-api-key :
23- description : ' Safe API key for transaction service'
24- required : true
25- type : string
2617 chain-id :
2718 description : ' Chain ID of the blockchain network (default: 42161 for Arbitrum)'
2819 required : false
3829 required : false
3930 default : ' 0x'
4031 type : string
32+ secrets :
33+ proposer-private-key :
34+ description : ' Private key of the proposer wallet'
35+ required : true
36+ safe-api-key :
37+ description : ' Safe API key for transaction service'
38+ required : true
4139 outputs :
4240 safe-tx-hash :
4341 description : ' Hash of the Safe transaction'
@@ -75,11 +73,11 @@ jobs:
7573 run : node dist/index.js
7674 working-directory : ./safe-transaction
7775 env :
78- INPUT_PROPOSER_PRIVATE_KEY : ${{ inputs.proposer-private-key }}
76+ INPUT_PROPOSER_PRIVATE_KEY : ${{ secrets.proposer-private-key }}
77+ INPUT_SAFE_API_KEY : ${{ secrets.safe-api-key }}
7978 INPUT_RPC_URL : ${{ inputs.rpc-url }}
8079 INPUT_SAFE_ADDRESS : ${{ inputs.safe-address }}
8180 INPUT_TARGET_ADDRESS : ${{ inputs.transaction-target-address }}
82- INPUT_SAFE_API_KEY : ${{ inputs.safe-api-key }}
8381 INPUT_CHAIN_ID : ${{ inputs.chain-id }}
8482 INPUT_TRANSACTION_VALUE : ${{ inputs.transaction-value }}
8583 INPUT_TRANSACTION_DATA : ${{ inputs.transaction-data }}
You can’t perform that action at this time.
0 commit comments