{"id":15065137,"url":"https://github.com/eferbarn/simple-solidity-contracts","last_synced_at":"2026-01-03T03:39:40.749Z","repository":{"id":204200010,"uuid":"711322429","full_name":"eferbarn/Simple-Solidity-Contracts","owner":"eferbarn","description":"You can find some handy examples of Solidity contracts here! I hope they will be inspirational!","archived":false,"fork":false,"pushed_at":"2023-11-09T11:35:16.000Z","size":36,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T00:17:22.168Z","etag":null,"topics":["smart-contracts","solidity","solidity-contracts","solidity-dapps","solidity-language"],"latest_commit_sha":null,"homepage":"https://github.com/eferbarn/Simple-Solidity-Contracts","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/eferbarn.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}},"created_at":"2023-10-28T22:10:01.000Z","updated_at":"2023-11-07T14:39:58.000Z","dependencies_parsed_at":"2024-11-21T22:15:30.583Z","dependency_job_id":null,"html_url":"https://github.com/eferbarn/Simple-Solidity-Contracts","commit_stats":null,"previous_names":["eferbarn/simple-solidity-contracts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eferbarn%2FSimple-Solidity-Contracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eferbarn%2FSimple-Solidity-Contracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eferbarn%2FSimple-Solidity-Contracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eferbarn%2FSimple-Solidity-Contracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eferbarn","download_url":"https://codeload.github.com/eferbarn/Simple-Solidity-Contracts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243806114,"owners_count":20350783,"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":["smart-contracts","solidity","solidity-contracts","solidity-dapps","solidity-language"],"created_at":"2024-09-25T00:34:39.739Z","updated_at":"2026-01-03T03:39:40.711Z","avatar_url":"https://github.com/eferbarn.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Solidity Contracts\n\u003ch2\u003eYou can find some handy examples of Solidity contracts here!\u003c/h2\u003e\n\u003cb\u003e⚠️ Disclaimer: Please use these contracts with caution! Always DYOR!\u003c/b\u003e\n\n🔮 I hope they will be inspirational! \n\u003cbr\u003e\n\u003ch2\u003e1. 🗳 \u003ca href=\"./Contracts/Proposals_And_Voting.sol\"\u003eProposals And Voting\u003c/a\u003e \u003c/h2\u003e\n\n* A simple implementation of a DAO\n* Modified on Sunday, October 29, 2023\n---\n\u003ch2\u003e2. 🎲 \u003ca href=\"./Contracts/Rand_Between.sol\"\u003eSimple \"Rand-Between\" Contract\u003c/a\u003e \u003c/h2\u003e\n\n* **⚠️ Use with Caution**; Since the Ethereum blockchain and its derivatives are considered deterministic systems, this type of implementation lacks reliable randomness, in other words, we don't have a VRF (Verifiable Random Function). Therefore, it's better not to use this kind of implementation if you have contracts that handle significant amounts of money.\n* Modified on Sunday, October 29, 2023\n---\n\u003ch2\u003e3. 🎰 \u003ca href=\"./Contracts/CommitReveal_Rand_Between.sol\"\u003eCommit/Reveal Schema for \"Rand-Between\"\u003c/a\u003e \u003c/h2\u003e\n\n* Relative to a simple random approach, this method is better as it is both cost-effective and highly reliable. If you do not want to use tools like ChainlinkVRF, this method will help you.\n* Modified on Sunday, October 29, 2023\n---\n\u003ch2\u003e4. 💳 \u003ca href=\"./Contracts/Crowdfunding.sol\"\u003eCrowdfunding\u003c/a\u003e \u003c/h2\u003e\n\n* This contract has the capability for you to attract capital through crowdfunding and accept any desired token as the base token.\n* Modified on Wednesday, November 01, 2023\n---\n\u003ch2\u003e5. 💞 \u003ca href=\"./Contracts/Lovers_Q\u0026A.sol\"\u003eLovers Q\u0026A\u003c/a\u003e \u003c/h2\u003e\n\n* Ask a question and simultaneously send the question and its answer in secret and hashed form to the contract. Now it's your partner's turn to respond to your question. This contract has the capability for you to pose any number of questions within it, and your partner can respond to those questions. Whenever a question concludes (whether your partner answered it correctly or incorrectly), you can ask the next question.\n* Modified on Wednesday, November 01, 2023\n---\n\u003ch2\u003e6. 🚛 \u003ca href=\"./Contracts/Batch_NFT_Transfer.sol\"\u003eBatch NFT Transfer (safeTransferFrom)\u003c/a\u003e \u003c/h2\u003e\n\n* Want to send lots of NFTs but got confused? No worries! Just deploy this contract and pass the NFT contract address through the constructor!\n* Modified on Thursday, November 09, 2023\n---\n\u003ch2\u003e7. 💠 \u003ca href=\"./Contracts/Batch_NFT_Transfer_1155.sol\"\u003eBatch NFT Transfer - 1155 Version\u003c/a\u003e \u003c/h2\u003e\n\n* Everything is as the same as `6. Batch NFT Transfer`, but for ERC1155 standard!\n* Modified on Thursday, November 09, 2023\n---\n\u003ch2\u003e8. 🧑‍🎨 \u003ca href=\"./Contracts/Eternal_Art_Gallery.sol\"\u003eEternal Art Gallery\u003c/a\u003e \u003c/h2\u003e\n\n* Your users can define artworks and artists, connect jpegs, etc. \nThen you can show off your eternal gallery to the world.\n  * Also, you can set a price for every individual artwork and collectors can purchase them at your desired price.\n  * Included artist royalties\n* Modified on Tuesday, November 07, 2023\n---\n\u003ch2\u003e9. 🎨 \u003ca href=\"./Contracts/Simple_NFT_Marketplace.sol\"\u003eSimple NFT Marketplace\u003c/a\u003e \u003c/h2\u003e\n\n* A simple marketplace to list, buy, and sell NFTs (Available for both `ERC721` and `ERC1155`)\n* Modified on Tuesday, November 07, 2023\n---\n\u003ch2\u003e10. 🖼 \u003ca href=\"./Contracts/Simple_NFT_Marketplace.sol\"\u003ePro NFT Marketplace\u003c/a\u003e \u003c/h2\u003e\n\n* A pro-evaluated version of the [Simple NFT Marketplace](./Contracts/Simple_NFT_Marketplace.sol), which supports `Multiple Payment Token`, `Artists royalties`, `Marketplace Royalties`, etc.\n* Modified on Tuesday, November 07, 2023\n---\n\u003ch2\u003e11. 🚰 \u003ca href=\"./Contracts/Distributor.sol\"\u003eDistributor\u003c/a\u003e \u003c/h2\u003e\n\n* This distributor can distribute gas (ether) or specific ERC20 tokens.\n  * After deploying, provide receiving addresses and corresponding shares to the `distribute` function!\n  * Can be deployed on all EVM-based networks.\n* Modified on Tuesday, November 07, 2023\n---\n\u003ch2\u003e12. ䷺ \u003ca href=\"./Contracts/Disperse.sol\"\u003eDisperse App\u003c/a\u003e \u003c/h2\u003e\n\n* Deploy the famous disperse app on every EVM-based network you want!\n* Modified on Tuesday, Thursday 09, 2023\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feferbarn%2Fsimple-solidity-contracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feferbarn%2Fsimple-solidity-contracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feferbarn%2Fsimple-solidity-contracts/lists"}