{"id":24516046,"url":"https://github.com/donguillotine/multisig-contract","last_synced_at":"2025-08-06T08:09:41.703Z","repository":{"id":256454378,"uuid":"855344661","full_name":"DonGuillotine/multisig-contract","owner":"DonGuillotine","description":"A Multi-Signature (MultiSig) Wallet implementation requiring multiple approvals from authorized signers before executing any transaction.","archived":false,"fork":false,"pushed_at":"2024-10-04T06:49:04.000Z","size":170,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T01:22:45.276Z","etag":null,"topics":["blockchain","hardhat","multisig-wallets","sepolia","solidity"],"latest_commit_sha":null,"homepage":"https://sepolia-blockscout.lisk.com/address/0x026EBeB988b406B54001d178546F7034FAfe0d88?tab=write_contract","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DonGuillotine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-10T18:02:09.000Z","updated_at":"2024-10-20T19:46:08.000Z","dependencies_parsed_at":"2024-09-10T20:51:15.633Z","dependency_job_id":"f472e4c2-5f47-4cbf-8ba2-cf261f9cd0e5","html_url":"https://github.com/DonGuillotine/multisig-contract","commit_stats":null,"previous_names":["donguillotine/multisig-contract"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DonGuillotine%2Fmultisig-contract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DonGuillotine%2Fmultisig-contract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DonGuillotine%2Fmultisig-contract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DonGuillotine%2Fmultisig-contract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DonGuillotine","download_url":"https://codeload.github.com/DonGuillotine/multisig-contract/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243719372,"owners_count":20336596,"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":["blockchain","hardhat","multisig-wallets","sepolia","solidity"],"created_at":"2025-01-22T01:20:45.280Z","updated_at":"2025-03-15T10:41:57.261Z","avatar_url":"https://github.com/DonGuillotine.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MultiSig Wallet Smart Contract\n\n## Overview\n\nThis repository contains Solidity contracts for a **Multi-Signature (MultiSig) Wallet** designed to manage ERC-20 token transactions securely. It requires multiple approvals from authorized signers before executing any transaction, thus providing enhanced security by preventing unilateral fund control.\n\nThis project is built using the **Hardhat** development environment and includes smart contracts, test files, and deployment scripts.\n\n## Features\n\n### MultiSig Wallet (`Multisig` contract)\n- **Secure ERC-20 token management**: Requires consensus (quorum) from multiple signers to execute transactions.\n- **Quorum management**: Functionalities to propose and update the quorum through multi-signer approval.\n- **Transaction tracking and security**: Ensures that each transaction is signed only once by each signer and tracks the status of each transaction.\n\n### Wallet Factory (`MultiSigWalletFactory` contract)\n- **Wallet deployment**: Allows for the creation of multiple independent MultiSig wallets.\n- **Tracking of wallets**: Maintains a record of all deployed wallets, retrievable by users.\n\n## Project Structure\n\n```\n|-- contracts/\n|   |-- Multisig.sol               # MultiSig Wallet contract\n|   |-- MultiSigWalletFactory.sol  # Factory contract for creating MultiSig wallets\n|\n|-- test/\n|   |-- Multisig.js                # Tests for MultiSig Wallet functionality\n|   |-- MultiSigWalletFactory.js   # Tests for the Wallet Factory functionality\n|\n|-- scripts/\n|   |-- check-balance.js           # Script to check the wallet's token balance\n|   |-- create-multisig.js         # Script to create a new MultiSig wallet\n|   |-- deploy.js                  # Script for deploying contracts\n|   |-- fund-multisig.js           # Script to fund a MultiSig wallet\n|   |-- interact-multisig.js       # Script for interacting with a deployed MultiSig wallet\n|   |-- verify-multisig.js         # Script to verify contract\n|\n|-- README.md                      # Project documentation\n|-- hardhat.config.js              # Configuration file for Hardhat\n|-- package.json                   # Project dependencies and scripts\n|-- .gitignore                     # Specifies intentionally untracked files to ignore\n```\n\n## Installation\n\n### Prerequisites\n- Node.js\n- Hardhat\n\n### Setup\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/DonGuillotine/multisig-contract.git\n   cd multisig-contract\n   ```\n\n2. **Install dependencies:**\n   ```bash\n   npm install\n   ```\n\n3. **Compile contracts:**\n   ```bash\n   npx hardhat compile\n   ```\n\n## Testing\n\nRun the test suite to verify the functionality of the contracts:\n```bash\nnpx hardhat test\n```\n\n## Scripts and Usage\n\n### Deploying the Contracts\n\nUse the `deploy.js` script to deploy the contracts on the blockchain, feel free to use any testnet or mainnet of your choice (For Mainnet deployment, test the code thoroughly and audit):\n```bash\nnpx hardhat run scripts/deploy.js --network lisk-sepolia\n```\n\n### Creating a MultiSig Wallet\n\nThe `create-multisig.js` script facilitates the creation of a new MultiSig wallet:\n```bash\nnpx hardhat run scripts/create-multisig.js --network lisk-sepolia\n```\n\n### Funding a Wallet\n\nTo fund a wallet with ERC-20 tokens, use the `fund-multisig.js` script:\n```bash\nnpx hardhat run scripts/fund-multisig.js --network lisk-sepolia\n```\n\n### Checking Wallet Balance\n\nCheck the balance of tokens in a wallet using the `check-balance.js` script:\n```bash\nnpx hardhat run scripts/check-balance.js --network lisk-sepolia\n```\n\n### Interacting with a Wallet\n\nExecute transactions and manage the wallet with the `interact-multisig.js` script:\n```bash\nnpx hardhat run scripts/interact-multisig.js --network lisk-sepolia\n```\n\n### Verifying Contracts\n\nVerify the deployed contracts using the `verify-multisig.js` script:\n```bash\nnpx hardhat run scripts/verify-multisig.js --network lisk-sepolia\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a pull request or open an issue if you have suggestions or improvements.\n\n## License\n\nThis project is licensed under the MIT License. See the LICENSE file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonguillotine%2Fmultisig-contract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonguillotine%2Fmultisig-contract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonguillotine%2Fmultisig-contract/lists"}