{"id":27396767,"url":"https://github.com/jio-gl/multiguard","last_synced_at":"2025-06-15T08:06:53.918Z","repository":{"id":287475912,"uuid":"964847649","full_name":"jio-gl/multiguard","owner":"jio-gl","description":"MultiGuard: basic multisig governance","archived":false,"fork":false,"pushed_at":"2025-04-12T02:20:56.000Z","size":5015,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T00:34:03.696Z","etag":null,"topics":["ethereum","gnosis-safe","governance","multisig","multisig-wallet","solidity"],"latest_commit_sha":null,"homepage":"https://multiguard.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jio-gl.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-11T22:24:51.000Z","updated_at":"2025-04-12T02:20:59.000Z","dependencies_parsed_at":"2025-04-12T00:23:21.144Z","dependency_job_id":"152fadc8-a7ad-4ec7-bdad-0ea922f559e4","html_url":"https://github.com/jio-gl/multiguard","commit_stats":null,"previous_names":["jio-gl/multiguard"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jio-gl/multiguard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jio-gl%2Fmultiguard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jio-gl%2Fmultiguard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jio-gl%2Fmultiguard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jio-gl%2Fmultiguard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jio-gl","download_url":"https://codeload.github.com/jio-gl/multiguard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jio-gl%2Fmultiguard/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259942785,"owners_count":22935327,"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":["ethereum","gnosis-safe","governance","multisig","multisig-wallet","solidity"],"created_at":"2025-04-14T00:20:56.547Z","updated_at":"2025-06-15T08:06:53.895Z","avatar_url":"https://github.com/jio-gl.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛡️🛡️🛡️ MultiGuard\n\nMultiGuard is a decentralized multisig governance protocol that enables secure and decentralized control of digital assets through smart contracts on the Ethereum blockchain. The protocol implements a robust governance framework where multiple authorized signers must approve transactions and administrative actions. MultiGuard is fully compatible with all EVM-compatible chains, allowing for seamless deployment across multiple networks from the web interface.\n\n## Features\n\n- Decentralized governance through multisig controls\n- Create and manage shared ownership groups\n- Secure digital asset management\n- Multi-signature transaction approval\n- Real-time notifications\n- Mobile-responsive design\n- Support for multiple networks (Ethereum, Arbitrum, Polygon, BSC, Avalanche)\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (v14 or higher)\n- npm or yarn\n- MetaMask or another Web3 wallet\n- Git\n\n### Environment Setup\n\nCreate a `.env` file in the root directory by copying `.env.example`:\n\n```bash\ncp .env.example .env\n```\n\nRequired environment variables:\n\n- `ARBISCAN_API_KEY`: Required for deploying and verifying contracts on Arbitrum One\n- `PRIVATE_KEY`: Your wallet's private key for contract deployment\n- `REACT_APP_DEFAULT_NETWORK`: Default network ID (1 for Ethereum mainnet)\n- `REACT_APP_INFURA_ID`: Infura project ID for frontend\n\n### Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/yourusername/multiguard-dapp.git\ncd multiguard-dapp\n```\n\n2. Install dependencies:\n```bash\nnpm install\n# or\nyarn install\n```\n\n3. Start the development server:\n```bash\nnpm start\n# or\nyarn start\n```\n\n4. Open [http://localhost:3000](http://localhost:3000) to view it in your browser.\n\n### GitHub Pages Deployment\n\nTo deploy the dapp to GitHub Pages, simply run:\n\n```bash\nnpm run deploy\n```\n\nThis will:\n- Build the production version of your dapp\n- Deploy it to the `gh-pages` branch\n- Make it available at `https://jio-gl.github.io/multiguard`\n\n## Development\n\n### Available Scripts\n\n- `npm start` - Runs the app in development mode\n- `npm test` - Launches the test runner\n- `npm run build` - Builds the app for production\n- `npm run eject` - Ejects from Create React App\n- `npm run compile` - Compiles the smart contracts and updates the bytecode artifact\n- `npm run node` - Starts a local Hardhat node\n- `npm run deploy:local` - Deploys example token to local network\n- `npm run deploy:arbitrum` - Deploys the MultiGuard contract to Arbitrum One\n- `npm run deploy` - Deploys the dapp to GitHub Pages\n- `npm run update-artifact` - Updates the contract artifact in the frontend\n- `npm run flatten` - Generates a flattened version of the MultiGuard contract\n- `npm run verify` - Verifies a deployed contract on Arbitrum One\n- `npm run deploy:verify:arbitrum` - Compiles, deploys and verifies the contract on Arbitrum One\n\n### Contract Deployment\n\nTo deploy the MultiGuard contract to Arbitrum One:\n\n1. Make sure you have an Arbiscan API key in your `.env` file:\n   ```\n   ARBISCAN_API_KEY=your_arbiscan_api_key_here\n   ```\n\n2. Make sure you have a private key with funds in your `.env` file:\n   ```\n   PRIVATE_KEY=your_wallet_private_key_here\n   ```\n\n3. Run the deployment script:\n   ```bash\n   npm run deploy:arbitrum\n   ```\n\n   This will:\n   - Deploy the MultiGuard contract to Arbitrum One\n   - Wait for the deployment to be mined\n   - Verify the contract on Arbiscan\n\n### Contract Verification\n\nTo verify a deployed contract on Arbitrum One:\n\n1. Make sure you have an Arbiscan API key in your `.env` file:\n   ```\n   ARBISCAN_API_KEY=your_arbiscan_api_key_here\n   ```\n\n2. Run the verify command with the contract name, address, and constructor arguments file:\n   ```bash\n   npm run verify --contract=MultiGuard --address=0x1234567890123456789012345678901234567890 --args=scripts/arguments.js\n   ```\n\n   For example, to verify the MultiGuard contract:\n   ```bash\n   npm run verify --contract=MultiGuard --address=0x1234567890123456789012345678901234567890 --args=scripts/arguments.js\n   ```\n\n3. Alternatively, you can use the standard Hardhat verify command:\n   ```bash\n   npx hardhat verify --network arbitrumOne 0x1234567890123456789012345678901234567890 --constructor-args scripts/arguments.js\n   ```\n\n4. For complex constructor arguments, you can use a JSON file as shown in the example `scripts/arguments.js`.\n\n### Project Structure\n\n```\nmultiguard-dapp/\n├── contracts/       # Smart contract source files\n├── public/          # Static files\n├── src/            # Frontend source files\n│   ├── components/ # React components\n│   ├── config/     # Configuration files\n│   ├── contracts/  # Contract ABIs and addresses\n│   ├── styles/     # CSS and style files\n│   ├── utils/      # Utility functions\n│   ├── App.jsx     # Main App component\n│   ├── index.js    # Application entry point\n│   └── index.css   # Global styles\n├── scripts/        # Deployment and verification scripts\n├── test/          # Contract and frontend tests\n├── docs/          # Documentation files\n├── flattened/     # Flattened contract files for verification\n├── hardhat.config.js  # Hardhat configuration\n├── postcss.config.js  # PostCSS configuration\n├── tailwind.config.js # Tailwind CSS configuration\n├── package.json    # Dependencies and scripts\n└── README.md      # Project documentation\n```\n\n### Smart Contracts\n\nThe project uses Hardhat as the main development framework. Smart contracts are located in the `contracts/` directory and can be:\n\n1. Compiled:\n```bash\nnpx hardhat compile\n```\n\n2. Tested:\n```bash\nnpx hardhat test\n```\n\n3. Deployed to local network:\n```bash\nnpx hardhat node\nnpx hardhat run scripts/deploy.js --network localhost\n```\n\n### Testing\n\nRun the test suite:\n\n```bash\n# Smart contract tests\nnpm run test:contracts\n\n# Frontend tests\nnpm run test:react\n```\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the Apache 2.0 License - see the [LICENSE](LICENSE) file for details.\n\n## Contact\n\nProject Link: [https://github.com/jio-gl/multiguard](https://github.com/jio-gl/multiguard)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjio-gl%2Fmultiguard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjio-gl%2Fmultiguard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjio-gl%2Fmultiguard/lists"}