{"id":50372559,"url":"https://github.com/mdqst/contracts","last_synced_at":"2026-05-30T08:02:20.124Z","repository":{"id":215250559,"uuid":"629644875","full_name":"mdqst/contracts","owner":"mdqst","description":"Examples of smart contracts","archived":false,"fork":false,"pushed_at":"2024-11-11T07:16:40.000Z","size":23,"stargazers_count":28,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-13T09:16:28.155Z","etag":null,"topics":["smartcontracts","solidity"],"latest_commit_sha":null,"homepage":"","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdqst.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":"2023-04-18T18:26:18.000Z","updated_at":"2024-12-12T13:57:55.000Z","dependencies_parsed_at":"2024-01-03T11:42:56.349Z","dependency_job_id":"db7d60c0-a9a0-46ad-aa06-78ce9241ed4e","html_url":"https://github.com/mdqst/contracts","commit_stats":null,"previous_names":["mdqst/contracts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mdqst/contracts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdqst%2Fcontracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdqst%2Fcontracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdqst%2Fcontracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdqst%2Fcontracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdqst","download_url":"https://codeload.github.com/mdqst/contracts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdqst%2Fcontracts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33684414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["smartcontracts","solidity"],"created_at":"2026-05-30T08:02:19.425Z","updated_at":"2026-05-30T08:02:20.119Z","avatar_url":"https://github.com/mdqst.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\n\n# 📝 Smart Contracts Repository for Popular Blockchain Networks\n\nWelcome to the **Smart Contracts Repository**! This repository contains a collection of smart contracts developed for some of the most widely-used blockchain networks. Each contract is tailored to the specifications of its respective network, providing developers with a wide range of examples to work with. Whether you're working on Ethereum, Binance Smart Chain, Solana, or other platforms, you'll find useful contract examples here.\n\n## 🌐 Supported Networks\n\nThis repository includes smart contracts for the following blockchain networks\n\n- **Ethereum**\n- **Linea**\n- **Base**\n- **Berachain**\n- **Monad**\n\n## 🛠️ Prerequisites\n\nTo work with the smart contracts in this repository, you'll need the following development tools:\n\n- **Node.js** (v14 or higher)\n- **Truffle** or **Hardhat** (for Ethereum, BSC, Polygon, etc.)\n- **Solana CLI** (for Solana-specific smart contracts)\n- **MetaMask** or other compatible wallets for testing\n- **Remix IDE** (optional) for quick contract testing and deployment\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/mdqst/contracts.git\n   cd contracts\n   ```\n\n2. Install the dependencies:\n\n   - For EVM contracts:\n\n     ```bash\n     npm install\n     ```\n\n   - For Solana contracts:\n\n     Make sure you have **Rust** and **Solana CLI** installed. Follow the [Solana installation guide](https://solana.com/docs/intro/installation) if needed.\n\n## 🚀 Deployment\n\nEach folder contains deployment guides for deploying the smart contracts on their respective networks.\n\n### For EVM-Compatible Networks (Ethereum, BSC, Polygon, etc.):\n\nYou can use **Hardhat** or **Truffle** to deploy smart contracts:\n\n1. **Deploy with Truffle**:\n\n   ```bash\n   truffle migrate --network \u003cnetwork_name\u003e\n   ```\n\n2. **Deploy with Hardhat**:\n\n   ```bash\n   npx hardhat run scripts/deploy.js --network \u003cnetwork_name\u003e\n   ```\n\n### For Solana:\n\n1. **Build the contract**:\n\n   ```bash\n   cargo build-bpf\n   ```\n\n2. **Deploy the contract**:\n\n   ```bash\n   solana program deploy \u003cprogram_file\u003e\n   ```\n\n## 🔗 Testing\n\nEach contract comes with a set of tests written using **Mocha/Chai** (for EVM) or **Rust tests** (for Solana). You can run the tests for EVM-compatible networks using:\n\n```bash\nnpx hardhat test\n```\n\nFor Solana, run:\n\n```bash\ncargo test\n```\n\n## 📝 License\n\nThis repository is licensed under the **MIT License**. Feel free to use, modify, and distribute the smart contracts within this repository for personal or commercial use.\n\n## 🤝 Contributing\n\nContributions are welcome! If you'd like to add a contract for a new blockchain network or improve existing contracts, feel free to submit a pull request.\n\n1. Fork the repository\n2. Create a new branch (`git checkout -b feature/your-feature`)\n3. Commit your changes (`git commit -m 'Add new feature'`)\n4. Push to the branch (`git push origin feature/your-feature`)\n5. Open a pull request\n\nIf you have any questions, feel free to reach out via email or create an issue in this repository.\n\n---\n\nEnjoy working with smart contracts and happy coding! 🎉\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdqst%2Fcontracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdqst%2Fcontracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdqst%2Fcontracts/lists"}