{"id":21820166,"url":"https://github.com/5afe/safe-tasks","last_synced_at":"2026-03-16T13:42:53.046Z","repository":{"id":40390719,"uuid":"357285436","full_name":"5afe/safe-tasks","owner":"5afe","description":"Hardhat task collection for the Safe contracts","archived":false,"fork":false,"pushed_at":"2024-03-27T11:25:43.000Z","size":176,"stargazers_count":46,"open_issues_count":2,"forks_count":26,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-27T16:49:26.675Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/5afe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-12T17:41:11.000Z","updated_at":"2024-05-17T16:51:52.000Z","dependencies_parsed_at":"2022-07-22T05:01:54.093Z","dependency_job_id":null,"html_url":"https://github.com/5afe/safe-tasks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5afe%2Fsafe-tasks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5afe%2Fsafe-tasks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5afe%2Fsafe-tasks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5afe%2Fsafe-tasks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/5afe","download_url":"https://codeload.github.com/5afe/safe-tasks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248812690,"owners_count":21165463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-27T16:28:59.363Z","updated_at":"2026-03-16T13:42:48.013Z","avatar_url":"https://github.com/5afe.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Gnosis Safe Tasks\n=================\n\nInstall\n-------\nSet correct node version (see `.nvmrc`) with [nvm](https://github.com/nvm-sh/nvm)\n```bash\nnvm use\n```\n\nInstall requirements with yarn:\n```bash\nyarn\n```\n\nQuick Start\n-----------\n### Setup\n\nCreate `.env` file to use the commands (see `.env.sample` for more info):\n\n- `NETWORK` - Network that should be used (e.g. `rinkeby`, `mainnet` or `custom`)\n- `PK` or `MNEMONIC`- Credentials for the account that should be used\n- `INFURA`- For network that use Infura based RPC\n- `NODE`- RPC node for `custom` network (optional)\n\n### Help\n\nUse `yarn safe help \u003ccommand\u003e` to get more information about parameters of a command.\n\nExample:\n```bash\nyarn safe help create\n```\n\n### Create Safe\nCreates and setups a Safe proxy via the proxy factory. All parameters of the Safe `setup` method can be configured.\n\n#### Example\nThis will deploy a Safe that uses the first imported account as an owner and set the threshold to 1.\n```bash\nyarn safe create\n```\n\n### Safe Info\nDisplays information about a Safe\n\n#### Usage\n```bash\nyarn safe info \u003caddress\u003e\n```\n\n### Propose Safe Transaction\nCreates a proposal json file for a Safe transaction that can be shared. The name of the json file will be `\u003csafe_tx_hash\u003e.proposal.json` and it will be stored in the `cli_cache` folder.\n\n#### Examples\nThis will create a transaction from the Safe to the target without any value or data.\n```bash\nyarn safe propose \u003caddress\u003e --to \u003ctarget\u003e\n```\n\nThis will create a transaction based on the sample tx input json that mints some WETH and sets an approve for it.\n```bash\nyarn safe propose-multi \u003caddress\u003e tx_input.sample.json\n```\n\n### Show Proposal\nShows the information of the proposal. \nNote: This requires the proposal file created before for that Safe transaction in the `cli_cache`.\n\n#### Usage\n```bash\nyarn safe show-proposal \u003csafeTxHash\u003e\n```\n\n### Sign Proposal\nSigns a proposal with the imported account\nNote: This requires the proposal file created before for that Safe transaction in the `cli_cache`.\n\n#### Usage\n```bash\nyarn safe sign-proposal \u003csafeTxHash\u003e\n```\n\n### Submit Proposal\nSubmits a proposal with the imported account\nNote: This requires the proposal file created before for that Safe transaction in the `cli_cache`.\n\n#### Usage\n```bash\nyarn safe submit-proposal \u003csafeTxHash\u003e\n```\n\n### Show Transaction History\nDisplays the transaction history of a Safe based on events\n\n#### Usage\n```bash\nyarn safe history \u003caddress\u003e\n```\n\nSecurity and Liability\n----------------------\nAll contracts are WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\nLicense\n-------\nAll smart contracts are released under LGPL-3.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5afe%2Fsafe-tasks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F5afe%2Fsafe-tasks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5afe%2Fsafe-tasks/lists"}