Commit 2d48427
feat: Add new Safe Wallet reusable workflow (#85)
* add new reusable workflow
* refactor: rename target-address to transaction-target-address in README, workflow, and source code for consistency
* chore: update changelog and version to 1.0.0 for safe transaction workflow
* chore: remove unused keywords from package.json
* chore: update README to reflect workflow usage changes and remove obsolete workflow file
* chore: remove unnecessary blank line in README for improved readability
* chore: remove redundant prepare script from package.json
* chore: move proposer-private-key and safe-api-key to secrets in workflow inputs
* chore: remove npm cache configuration from Node.js setup
* chore: add ref to checkout step in safe-transaction workflow for testing
* chore: add prepare script to package.json and clarify operation type in transaction creation
* refactor: update Safe initialization method from init to create for consistency
* refactor: enhance wallet initialization with provider and integrate EthersAdapter for improved functionality
* style: standardize quotation marks in index.js for consistency
* feat: add debug logging for safe transaction data and specify origin in transaction proposal
* feat: add transaction service URL for Safe API initialization
* feat: add debug logging for API Kit initialization in safe transaction
* feat: enhance debug logging for safe transaction process and API Kit state
* refactor: simplify wallet and Safe initialization by removing unnecessary dependencies and parameters
* refactor: remove chain-id input from workflow and update dependencies for improved compatibility
* refactor: update dependencies and improve Safe transaction proposal process with new API and Protocol Kits
* refactor: update API Kit and Protocol Kit initialization to use default exports
* refactor: update API and Protocol Kit initialization to remove default exports
* refactor: remove module type declaration from package.json
* refactor: add chain-id input to workflow and update README and index.ts for default handling
* refactor: move chain-id input definition to the correct position in the workflow
* refactor: rename transaction-target-address to transaction-to for consistency
* refactor: update Node.js version from 20 to 22 in workflow
* refactor: add origin field to transaction proposal for GitHub Action context
* Update safe-transaction/README.md
Co-authored-by: gfournieriExec <[email protected]>
* refactor: remove chain-id input and detect it from RPC URL in workflow
* refactor: replace ethers with viem for wallet and chain ID detection
* Update safe-transaction/package.json
Co-authored-by: Zied Guesmi <[email protected]>
* Update safe-transaction/package.json
Co-authored-by: Zied Guesmi <[email protected]>
* Update .github/workflows/safe-transaction.yml
Co-authored-by: Zied Guesmi <[email protected]>
* Update .github/workflows/safe-transaction.yml
Co-authored-by: Zied Guesmi <[email protected]>
* Update .github/workflows/safe-transaction.yml
Co-authored-by: Zied Guesmi <[email protected]>
* Update .github/workflows/safe-transaction.yml
Co-authored-by: Zied Guesmi <[email protected]>
* Update .github/workflows/safe-transaction.yml
Co-authored-by: Zied Guesmi <[email protected]>
* Update .github/workflows/safe-transaction.yml
Co-authored-by: Zied Guesmi <[email protected]>
* Update .github/workflows/safe-transaction.yml
Co-authored-by: Zied Guesmi <[email protected]>
* Update .github/workflows/safe-transaction.yml
Co-authored-by: Zied Guesmi <[email protected]>
* feat: add reusable workflow for proposing Safe multisig transactions
- Created a new GitHub Actions workflow for proposing transactions to a Gnosis Safe multisig wallet.
- Added inputs for RPC URL, Safe address, transaction target, value, and data.
- Implemented job steps for checking out the repository, setting up Node.js, installing dependencies, building the action, and proposing the transaction.
- Included a README with usage instructions and a changelog.
- Added TypeScript configuration and source code for the action.
- Created .gitignore to exclude unnecessary files and directories.
- Initialized package.json and package-lock.json for dependency management.
- Added version tracking with version.txt.
* feat: add environment variable validation and update dependencies
* refactor: streamline transaction proposal logic and enhance error handling
* feat: update Safe multisig transaction workflow to use new environment variable structure and enhance validation
* feat: enhance validation for SAFE_PROPOSER_PRIVATE_KEY in environment configuration
* chore: remove redundant chain ID detection logs from transaction proposal workflow
* fix: update workflow name to 'Propose Safe Multisig Transaction' for clarity
* Update propose-safe-multisig-tx/src/index.ts
Co-authored-by: Zied Guesmi <[email protected]>
* Update propose-safe-multisig-tx/src/index.ts
Co-authored-by: Zied Guesmi <[email protected]>
* Update propose-safe-multisig-tx/src/index.ts
Co-authored-by: Zied Guesmi <[email protected]>
* Update propose-safe-multisig-tx/README.md
Co-authored-by: Zied Guesmi <[email protected]>
* feat: update workflow example for contract upgrade process
* chore: remove temporary reference for testing in workflow
---------
Co-authored-by: gfournieriExec <[email protected]>
Co-authored-by: Zied Guesmi <[email protected]>1 parent 2e0d532 commit 2d48427
File tree
11 files changed
+922
-0
lines changed- .github/workflows
- propose-safe-multisig-tx
- src
11 files changed
+922
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
0 commit comments